Enum dfhack_proto::messages::InventoryMode
source · pub enum InventoryMode {
Hauled,
Weapon,
Worn,
Piercing,
Flask,
WrappedAround,
StuckIn,
InMouth,
Pet,
SewnInto,
Strapped,
}Variants§
Trait Implementations§
source§impl Clone for InventoryMode
impl Clone for InventoryMode
source§fn clone(&self) -> InventoryMode
fn clone(&self) -> InventoryMode
Returns a copy 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§fn from_i32(value: i32) -> Option<InventoryMode>
fn from_i32(value: i32) -> Option<InventoryMode>
Try to create an enum from
i32 value.
Return None if value is unknown.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<InventoryMode> for InventoryMode
impl PartialEq<InventoryMode> for InventoryMode
source§fn eq(&self, other: &InventoryMode) -> bool
fn eq(&self, other: &InventoryMode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for InventoryMode
impl Eq for InventoryMode
impl StructuralEq for InventoryMode
impl StructuralPartialEq for InventoryMode
Auto Trait Implementations§
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