Enum dfhack_proto::messages::TiletypeSpecial
source · pub enum TiletypeSpecial {
Show 13 variants
NO_SPECIAL,
NORMAL,
RIVER_SOURCE,
WATERFALL,
SMOOTH,
FURROWED,
WET,
DEAD,
WORN_1,
WORN_2,
WORN_3,
TRACK,
SMOOTH_DEAD,
}Variants§
NO_SPECIAL
NORMAL
RIVER_SOURCE
WATERFALL
SMOOTH
FURROWED
WET
DEAD
WORN_1
WORN_2
WORN_3
TRACK
SMOOTH_DEAD
Trait Implementations§
source§impl Clone for TiletypeSpecial
impl Clone for TiletypeSpecial
source§fn clone(&self) -> TiletypeSpecial
fn clone(&self) -> TiletypeSpecial
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 TiletypeSpecial
impl Debug for TiletypeSpecial
source§impl Default for TiletypeSpecial
impl Default for TiletypeSpecial
source§impl Hash for TiletypeSpecial
impl Hash for TiletypeSpecial
source§impl PartialEq<TiletypeSpecial> for TiletypeSpecial
impl PartialEq<TiletypeSpecial> for TiletypeSpecial
source§fn eq(&self, other: &TiletypeSpecial) -> bool
fn eq(&self, other: &TiletypeSpecial) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl ProtobufEnum for TiletypeSpecial
impl ProtobufEnum for TiletypeSpecial
source§fn from_i32(value: i32) -> Option<TiletypeSpecial>
fn from_i32(value: i32) -> Option<TiletypeSpecial>
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 TiletypeSpecial
impl ProtobufValue for TiletypeSpecial
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?