pub struct Context<'a, Message, Output> { /* fields omitted */ }
Expand description
Allows for message passing between components
impl<'a, Message, Output> Context<'a, Message, Output>
Push a message to the parent.
Push multiple messages to the parent using an iterator.
Returns the cursor position
Submits a messsage to self in the future.
Submits a stream of messages to self in the future.
impl<'a, Message, Output> Send for Context<'a, Message, Output> where
Output: Send,
impl<'a, Message, Output> Sync for Context<'a, Message, Output> where
Output: Sync,
impl<'a, Message, Output> Unpin for Context<'a, Message, Output>
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T> Downcast<T> for T
impl<T, U> Into<U> for T where
U: From<T>,
The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.