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 Enum for TuningType
impl Enum 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§const VALUES: &'static [TuningType] = _
const VALUES: &'static [TuningType] = _
All enum values for enum type.
source§impl EnumFull for TuningType
impl EnumFull for TuningType
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 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 ==.impl Copy for TuningType
impl Eq for TuningType
impl StructuralEq for TuningType
impl StructuralPartialEq for TuningType
Auto Trait Implementations§
impl RefUnwindSafe for TuningType
impl Send for TuningType
impl Sync for TuningType
impl Unpin for TuningType
impl UnwindSafe for TuningType
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