pub enum StateChange {
None,
Push(Box<dyn State>),
Pop,
Swap(Box<dyn State>),
Quit,
}Variants§
Auto Trait Implementations§
impl Freeze for StateChange
impl !RefUnwindSafe for StateChange
impl Send for StateChange
impl Sync for StateChange
impl Unpin for StateChange
impl UnsafeUnpin for StateChange
impl !UnwindSafe for StateChange
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