Enum dfhack_proto::messages::TiletypeVariant
source · pub enum TiletypeVariant {
NO_VARIANT,
VAR_1,
VAR_2,
VAR_3,
VAR_4,
}Variants§
Trait Implementations§
source§impl Clone for TiletypeVariant
impl Clone for TiletypeVariant
source§fn clone(&self) -> TiletypeVariant
fn clone(&self) -> TiletypeVariant
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 TiletypeVariant
impl Debug for TiletypeVariant
source§impl Default for TiletypeVariant
impl Default for TiletypeVariant
source§impl Hash for TiletypeVariant
impl Hash for TiletypeVariant
source§impl PartialEq<TiletypeVariant> for TiletypeVariant
impl PartialEq<TiletypeVariant> for TiletypeVariant
source§fn eq(&self, other: &TiletypeVariant) -> bool
fn eq(&self, other: &TiletypeVariant) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl ProtobufEnum for TiletypeVariant
impl ProtobufEnum for TiletypeVariant
source§fn from_i32(value: i32) -> Option<TiletypeVariant>
fn from_i32(value: i32) -> Option<TiletypeVariant>
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 TiletypeVariant
impl ProtobufValue for TiletypeVariant
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?