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