pub enum InventoryMode {
Hauled = 0,
Weapon = 1,
Worn = 2,
Piercing = 3,
Flask = 4,
WrappedAround = 5,
StuckIn = 6,
InMouth = 7,
Pet = 8,
SewnInto = 9,
Strapped = 10,
}Variants§
Hauled = 0
Weapon = 1
Worn = 2
Piercing = 3
Flask = 4
WrappedAround = 5
StuckIn = 6
InMouth = 7
Pet = 8
SewnInto = 9
Strapped = 10
Trait Implementations§
Source§impl Clone for InventoryMode
impl Clone for InventoryMode
Source§fn clone(&self) -> InventoryMode
fn clone(&self) -> InventoryMode
Returns a duplicate of the value. Read more
1.0.0 · 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 InventoryMode
impl Debug for InventoryMode
Source§impl Default for InventoryMode
impl Default for InventoryMode
Source§impl Enum for InventoryMode
impl Enum for InventoryMode
Source§const VALUES: &'static [InventoryMode]
const VALUES: &'static [InventoryMode]
All enum values for enum type.
Source§impl EnumFull for InventoryMode
impl EnumFull for InventoryMode
Source§fn enum_descriptor() -> EnumDescriptor
fn enum_descriptor() -> EnumDescriptor
Get enum descriptor by type.
Source§fn descriptor(&self) -> EnumValueDescriptor
fn descriptor(&self) -> EnumValueDescriptor
Get enum value descriptor.
Source§impl Hash for InventoryMode
impl Hash for InventoryMode
Source§impl PartialEq for InventoryMode
impl PartialEq for InventoryMode
impl Copy for InventoryMode
impl Eq for InventoryMode
impl StructuralPartialEq for InventoryMode
Auto Trait Implementations§
impl Freeze for InventoryMode
impl RefUnwindSafe for InventoryMode
impl Send for InventoryMode
impl Sync for InventoryMode
impl Unpin for InventoryMode
impl UnwindSafe for InventoryMode
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