Struct rs::main::c::RsObjects

source · []
#[repr(C)]
pub struct RsObjects { receiver: Wrapped<Receiver<Commands>>, state_manager: Wrapped<Threaded<Application>>, submission: Wrapped<Submission>, wayland: *mut Wayland, popover: Actor, }
Expand description

Holds the Rust structures that are interesting from C.

Fields

receiver: Wrapped<Receiver<Commands>>

The handle to which Commands should be sent for processing in the main loop.

state_manager: Wrapped<Threaded<Application>>submission: Wrapped<Submission>wayland: *mut Wayland

Not wrapped, because C needs to access this.

popover: Actor

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.