pub struct StartCtx<W>where
W: Widget,{ /* private fields */ }Implementations§
Source§impl<W> StartCtx<W>where
W: Widget,
impl<W> StartCtx<W>where
W: Widget,
pub fn widget_id(&self) -> WidgetId
pub fn instance_id(&self) -> InstanceId
pub fn post(&mut self, message: W::Message)
Sourcepub fn request_render(&mut self)
pub fn request_render(&mut self)
Marks the current frame dirty and wakes the host if this is the first pending redraw.
Repeated calls before the host consumes the pending frame are coalesced into one redraw.
Auto Trait Implementations§
impl<W> Freeze for StartCtx<W>
impl<W> !RefUnwindSafe for StartCtx<W>
impl<W> !Send for StartCtx<W>
impl<W> !Sync for StartCtx<W>
impl<W> Unpin for StartCtx<W>
impl<W> UnsafeUnpin for StartCtx<W>
impl<W> !UnwindSafe for StartCtx<W>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more