pub enum CmdRecord<Msg> {
None,
Task,
Msg(Msg),
Batch(usize),
}Expand description
Record of a command that was returned from update
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<Msg> Freeze for CmdRecord<Msg>where
Msg: Freeze,
impl<Msg> RefUnwindSafe for CmdRecord<Msg>where
Msg: RefUnwindSafe,
impl<Msg> Send for CmdRecord<Msg>where
Msg: Send,
impl<Msg> Sync for CmdRecord<Msg>where
Msg: Sync,
impl<Msg> Unpin for CmdRecord<Msg>where
Msg: Unpin,
impl<Msg> UnsafeUnpin for CmdRecord<Msg>where
Msg: UnsafeUnpin,
impl<Msg> UnwindSafe for CmdRecord<Msg>where
Msg: UnwindSafe,
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