Enum dfhack_proto::messages::TiletypeMaterial
source · pub enum TiletypeMaterial {
Show 27 variants
NO_MATERIAL,
AIR,
SOIL,
STONE,
FEATURE,
LAVA_STONE,
MINERAL,
FROZEN_LIQUID,
CONSTRUCTION,
GRASS_LIGHT,
GRASS_DARK,
GRASS_DRY,
GRASS_DEAD,
PLANT,
HFS,
CAMPFIRE,
FIRE,
ASHES,
MAGMA,
DRIFTWOOD,
POOL,
BROOK,
RIVER,
ROOT,
TREE_MATERIAL,
MUSHROOM,
UNDERWORLD_GATE,
}Variants§
NO_MATERIAL
AIR
SOIL
STONE
FEATURE
LAVA_STONE
MINERAL
FROZEN_LIQUID
CONSTRUCTION
GRASS_LIGHT
GRASS_DARK
GRASS_DRY
GRASS_DEAD
PLANT
HFS
CAMPFIRE
FIRE
ASHES
MAGMA
DRIFTWOOD
POOL
BROOK
RIVER
ROOT
TREE_MATERIAL
MUSHROOM
UNDERWORLD_GATE
Trait Implementations§
source§impl Clone for TiletypeMaterial
impl Clone for TiletypeMaterial
source§fn clone(&self) -> TiletypeMaterial
fn clone(&self) -> TiletypeMaterial
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 TiletypeMaterial
impl Debug for TiletypeMaterial
source§impl Default for TiletypeMaterial
impl Default for TiletypeMaterial
source§impl Hash for TiletypeMaterial
impl Hash for TiletypeMaterial
source§impl PartialEq<TiletypeMaterial> for TiletypeMaterial
impl PartialEq<TiletypeMaterial> for TiletypeMaterial
source§fn eq(&self, other: &TiletypeMaterial) -> bool
fn eq(&self, other: &TiletypeMaterial) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl ProtobufEnum for TiletypeMaterial
impl ProtobufEnum for TiletypeMaterial
source§fn from_i32(value: i32) -> Option<TiletypeMaterial>
fn from_i32(value: i32) -> Option<TiletypeMaterial>
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 TiletypeMaterial
impl ProtobufValue for TiletypeMaterial
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?