Struct pixel_widgets::widget::Context [−][src]
pub struct Context<Message> { /* fields omitted */ }Expand description
Context for posting messages and requesting redraws of the ui.
Implementations
impl<Message> Context<Message>[src]
impl<Message> Context<Message>[src]pub fn extend<I: IntoIterator<Item = Message>>(&mut self, iter: I)[src]
pub fn extend<I: IntoIterator<Item = Message>>(&mut self, iter: I)[src]Push multiple messages to the current [Model] using an iterator.
pub fn redraw_requested(&self) -> bool[src]
pub fn redraw_requested(&self) -> bool[src]Returns the redraw flag.
Trait Implementations
Auto Trait Implementations
impl<Message> RefUnwindSafe for Context<Message> where
Message: RefUnwindSafe,
Message: RefUnwindSafe,
impl<Message> Send for Context<Message> where
Message: Send,
Message: Send,
impl<Message> Sync for Context<Message> where
Message: Sync,
Message: Sync,
impl<Message> Unpin for Context<Message> where
Message: Unpin,
Message: Unpin,
impl<Message> UnwindSafe for Context<Message> where
Message: UnwindSafe,
Message: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for Timpl<T> Any for T where
T: Any,
T: Any,