pub enum MoveOptionKind {
Move {
location: InventoryLocation,
parent_instance_id: Option<Uuid>,
},
PickupPlaced {
container_id: String,
nest_location: InventoryLocation,
nest_parent_instance_id: Option<Uuid>,
},
Use,
Drop,
Cancel,
}Variants§
Move
PickupPlaced
Pick up a placed chest/crate; optionally nest into a worn bag afterward.
Use
Eat/drink a loose consumable (one unit per use).
Drop
Cancel
Trait Implementations§
Source§impl Clone for MoveOptionKind
impl Clone for MoveOptionKind
Source§fn clone(&self) -> MoveOptionKind
fn clone(&self) -> MoveOptionKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MoveOptionKind
impl Debug for MoveOptionKind
Source§impl PartialEq for MoveOptionKind
impl PartialEq for MoveOptionKind
impl StructuralPartialEq for MoveOptionKind
Auto Trait Implementations§
impl Freeze for MoveOptionKind
impl RefUnwindSafe for MoveOptionKind
impl Send for MoveOptionKind
impl Sync for MoveOptionKind
impl Unpin for MoveOptionKind
impl UnsafeUnpin for MoveOptionKind
impl UnwindSafe for MoveOptionKind
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