Enum dfhack_proto::messages::TiletypeShape
source · pub enum TiletypeShape {
Show 21 variants
NO_SHAPE,
EMPTY,
FLOOR,
BOULDER,
PEBBLES,
WALL,
FORTIFICATION,
STAIR_UP,
STAIR_DOWN,
STAIR_UPDOWN,
RAMP,
RAMP_TOP,
BROOK_BED,
BROOK_TOP,
TREE_SHAPE,
SAPLING,
SHRUB,
ENDLESS_PIT,
BRANCH,
TRUNK_BRANCH,
TWIG,
}Variants§
NO_SHAPE
EMPTY
FLOOR
BOULDER
PEBBLES
WALL
FORTIFICATION
STAIR_UP
STAIR_DOWN
STAIR_UPDOWN
RAMP
RAMP_TOP
BROOK_BED
BROOK_TOP
TREE_SHAPE
SAPLING
SHRUB
ENDLESS_PIT
BRANCH
TRUNK_BRANCH
TWIG
Trait Implementations§
source§impl Clone for TiletypeShape
impl Clone for TiletypeShape
source§fn clone(&self) -> TiletypeShape
fn clone(&self) -> TiletypeShape
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 TiletypeShape
impl Debug for TiletypeShape
source§impl Default for TiletypeShape
impl Default for TiletypeShape
source§impl Enum for TiletypeShape
impl Enum for TiletypeShape
source§fn from_i32(value: i32) -> Option<TiletypeShape>
fn from_i32(value: i32) -> Option<TiletypeShape>
Try to create an enum from
i32 value.
Return None if value is unknown.source§const VALUES: &'static [TiletypeShape] = _
const VALUES: &'static [TiletypeShape] = _
All enum values for enum type.
source§impl EnumFull for TiletypeShape
impl EnumFull for TiletypeShape
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 TiletypeShape
impl Hash for TiletypeShape
source§impl PartialEq<TiletypeShape> for TiletypeShape
impl PartialEq<TiletypeShape> for TiletypeShape
source§fn eq(&self, other: &TiletypeShape) -> bool
fn eq(&self, other: &TiletypeShape) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for TiletypeShape
impl Eq for TiletypeShape
impl StructuralEq for TiletypeShape
impl StructuralPartialEq for TiletypeShape
Auto Trait Implementations§
impl RefUnwindSafe for TiletypeShape
impl Send for TiletypeShape
impl Sync for TiletypeShape
impl Unpin for TiletypeShape
impl UnwindSafe for TiletypeShape
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