Enum dfhack_proto::messages::BasicShape
source · pub enum BasicShape {
NONE,
OPEN,
WALL,
FLOOR,
RAMP_UP,
RAMP_DOWN,
}Variants§
Trait Implementations§
source§impl Clone for BasicShape
impl Clone for BasicShape
source§fn clone(&self) -> BasicShape
fn clone(&self) -> BasicShape
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 BasicShape
impl Debug for BasicShape
source§impl Default for BasicShape
impl Default for BasicShape
source§impl Enum for BasicShape
impl Enum for BasicShape
source§fn from_i32(value: i32) -> Option<BasicShape>
fn from_i32(value: i32) -> Option<BasicShape>
Try to create an enum from
i32 value.
Return None if value is unknown.source§const VALUES: &'static [BasicShape] = _
const VALUES: &'static [BasicShape] = _
All enum values for enum type.
source§impl EnumFull for BasicShape
impl EnumFull for BasicShape
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 BasicShape
impl Hash for BasicShape
source§impl PartialEq<BasicShape> for BasicShape
impl PartialEq<BasicShape> for BasicShape
source§fn eq(&self, other: &BasicShape) -> bool
fn eq(&self, other: &BasicShape) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for BasicShape
impl Eq for BasicShape
impl StructuralEq for BasicShape
impl StructuralPartialEq for BasicShape
Auto Trait Implementations§
impl RefUnwindSafe for BasicShape
impl Send for BasicShape
impl Sync for BasicShape
impl Unpin for BasicShape
impl UnwindSafe for BasicShape
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