pub struct ActionContext(/* private fields */);Expand description
Context for changing state.
Implementations§
Source§impl ActionContext
impl ActionContext
pub fn nc(&mut self) -> &mut NotifyContext
pub fn sc(&mut self) -> SignalContext<'_>
Auto Trait Implementations§
impl !Freeze for ActionContext
impl !RefUnwindSafe for ActionContext
impl !Send for ActionContext
impl !Sync for ActionContext
impl Unpin for ActionContext
impl !UnwindSafe for ActionContext
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