pub enum MartPhase {
MainMenu {
cursor: MartTopChoice,
},
Buy(BuyMenuState),
Sell(SellMenuState),
Exiting,
}Expand description
Actual state machine phase (read via MartState::phase).
Variants§
Trait Implementations§
impl Eq for MartPhase
impl StructuralPartialEq for MartPhase
Auto Trait Implementations§
impl Freeze for MartPhase
impl RefUnwindSafe for MartPhase
impl Send for MartPhase
impl Sync for MartPhase
impl Unpin for MartPhase
impl UnsafeUnpin for MartPhase
impl UnwindSafe for MartPhase
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