pub enum PickupCommand {
ListItems,
AddItem(String),
ShowItem(usize),
RemoveItem(usize),
Exit,
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PickupCommand
impl RefUnwindSafe for PickupCommand
impl Send for PickupCommand
impl Sync for PickupCommand
impl Unpin for PickupCommand
impl UnsafeUnpin for PickupCommand
impl UnwindSafe for PickupCommand
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