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