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 Enum for TiletypeMaterial
impl Enum for TiletypeMaterial
source§const NAME: &'static str = "TiletypeMaterial"
const NAME: &'static str = "TiletypeMaterial"
Enum name as specified in
.proto file. Read moresource§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§const VALUES: &'static [TiletypeMaterial] = _
const VALUES: &'static [TiletypeMaterial] = _
All enum values for enum type.
source§impl EnumFull for TiletypeMaterial
impl EnumFull for TiletypeMaterial
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 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 ==.impl Copy for TiletypeMaterial
impl Eq for TiletypeMaterial
impl StructuralEq for TiletypeMaterial
impl StructuralPartialEq for TiletypeMaterial
Auto Trait Implementations§
impl RefUnwindSafe for TiletypeMaterial
impl Send for TiletypeMaterial
impl Sync for TiletypeMaterial
impl Unpin for TiletypeMaterial
impl UnwindSafe for TiletypeMaterial
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