pub struct Command<M> { /* private fields */ }Expand description
A command that can be returned from update.
Commands represent side effects that should happen after updating the model.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<M> !RefUnwindSafe for Command<M>
impl<M> !Sync for Command<M>
impl<M> !UnwindSafe for Command<M>
impl<M> Freeze for Command<M>where
M: Freeze,
impl<M> Send for Command<M>where
M: Send,
impl<M> Unpin for Command<M>where
M: Unpin,
impl<M> UnsafeUnpin for Command<M>where
M: UnsafeUnpin,
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