Enum dfhack_proto::messages::ArmorLayer
source · pub enum ArmorLayer {
LAYER_UNDER,
LAYER_OVER,
LAYER_ARMOR,
LAYER_COVER,
}Variants§
Trait Implementations§
source§impl Clone for ArmorLayer
impl Clone for ArmorLayer
source§fn clone(&self) -> ArmorLayer
fn clone(&self) -> ArmorLayer
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 ArmorLayer
impl Debug for ArmorLayer
source§impl Default for ArmorLayer
impl Default for ArmorLayer
source§impl Enum for ArmorLayer
impl Enum for ArmorLayer
source§fn from_i32(value: i32) -> Option<ArmorLayer>
fn from_i32(value: i32) -> Option<ArmorLayer>
Try to create an enum from
i32 value.
Return None if value is unknown.source§const VALUES: &'static [ArmorLayer] = _
const VALUES: &'static [ArmorLayer] = _
All enum values for enum type.
source§impl EnumFull for ArmorLayer
impl EnumFull for ArmorLayer
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 ArmorLayer
impl Hash for ArmorLayer
source§impl PartialEq<ArmorLayer> for ArmorLayer
impl PartialEq<ArmorLayer> for ArmorLayer
source§fn eq(&self, other: &ArmorLayer) -> bool
fn eq(&self, other: &ArmorLayer) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for ArmorLayer
impl Eq for ArmorLayer
impl StructuralEq for ArmorLayer
impl StructuralPartialEq for ArmorLayer
Auto Trait Implementations§
impl RefUnwindSafe for ArmorLayer
impl Send for ArmorLayer
impl Sync for ArmorLayer
impl Unpin for ArmorLayer
impl UnwindSafe for ArmorLayer
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