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