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 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 ==.source§impl ProtobufEnum for ArmorLayer
impl ProtobufEnum 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§fn enum_descriptor_static() -> &'static EnumDescriptor
fn enum_descriptor_static() -> &'static EnumDescriptor
Get enum descriptor by type.
source§fn descriptor(&self) -> &'static EnumValueDescriptor
fn descriptor(&self) -> &'static EnumValueDescriptor
Get enum value descriptor.
source§fn enum_descriptor(&self) -> &'static EnumDescriptor
fn enum_descriptor(&self) -> &'static EnumDescriptor
Get enum descriptor.
source§impl ProtobufValue for ArmorLayer
impl ProtobufValue for ArmorLayer
source§fn as_ref(&self) -> ReflectValueRef<'_>
fn as_ref(&self) -> ReflectValueRef<'_>
As ref
source§fn is_non_zero(&self) -> bool
fn is_non_zero(&self) -> bool
Is value non-zero?