pub struct ComponentMutCtx { /* private fields */ }Expand description
A helper for ComponentRc::task_with or ComponentRc::update_with .
Implementations§
Source§impl ComponentMutCtx
impl ComponentMutCtx
Sourcepub fn need_update(&mut self)
pub fn need_update(&mut self)
Schedule an update when the ComponentRc::task_with or ComponentRc::update_with call ends
Auto Trait Implementations§
impl Freeze for ComponentMutCtx
impl RefUnwindSafe for ComponentMutCtx
impl Send for ComponentMutCtx
impl Sync for ComponentMutCtx
impl Unpin for ComponentMutCtx
impl UnsafeUnpin for ComponentMutCtx
impl UnwindSafe for ComponentMutCtx
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