pub enum MachineType {
Show 35 variants
BdHard,
BdClassic,
SdHard,
SdClassic,
RsHard,
RsClassic,
CpClassic,
BtClassic,
XtClassic,
ChClassic,
OhClassic,
CyClassic,
CbClassic,
BdFm,
SdFm,
UtNoise,
UtImpulse,
ChMetallic,
OhMetallic,
CyMetallic,
CbMetallic,
BdPlastic,
BdSilky,
SdNatural,
HhBasic,
CyRide,
BdSharp,
Disable,
SyDualVco,
SyChip,
BdAcoustic,
SdAcoustic,
SyRaw,
HhLab,
Unset,
}
Expand description
Machine type of a sound.
Variants§
BdHard
BdClassic
SdHard
SdClassic
RsHard
RsClassic
CpClassic
BtClassic
XtClassic
ChClassic
OhClassic
CyClassic
CbClassic
BdFm
SdFm
UtNoise
UtImpulse
ChMetallic
OhMetallic
CyMetallic
CbMetallic
BdPlastic
BdSilky
SdNatural
HhBasic
CyRide
BdSharp
Disable
SyDualVco
SyChip
BdAcoustic
SdAcoustic
SyRaw
HhLab
Unset
Trait Implementations§
source§impl Clone for MachineType
impl Clone for MachineType
source§fn clone(&self) -> MachineType
fn clone(&self) -> MachineType
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 MachineType
impl Debug for MachineType
source§impl Default for MachineType
impl Default for MachineType
source§fn default() -> MachineType
fn default() -> MachineType
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MachineType
impl<'de> Deserialize<'de> for MachineType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for MachineType
impl Display for MachineType
source§impl From<MachineParameters> for MachineType
impl From<MachineParameters> for MachineType
source§fn from(machine: MachineParameters) -> Self
fn from(machine: MachineParameters) -> Self
Converts to this type from the input type.
source§impl From<MachineType> for &str
impl From<MachineType> for &str
source§fn from(machine: MachineType) -> Self
fn from(machine: MachineType) -> Self
Converts to this type from the input type.
source§impl From<MachineType> for MachineParameters
impl From<MachineType> for MachineParameters
source§fn from(machine_type: MachineType) -> Self
fn from(machine_type: MachineType) -> Self
Converts to this type from the input type.
source§impl From<MachineType> for u8
impl From<MachineType> for u8
source§fn from(value: MachineType) -> Self
fn from(value: MachineType) -> Self
Converts to this type from the input type.
source§impl Hash for MachineType
impl Hash for MachineType
source§impl Ord for MachineType
impl Ord for MachineType
source§fn cmp(&self, other: &MachineType) -> Ordering
fn cmp(&self, other: &MachineType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for MachineType
impl PartialEq for MachineType
source§fn eq(&self, other: &MachineType) -> bool
fn eq(&self, other: &MachineType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for MachineType
impl PartialOrd for MachineType
source§fn partial_cmp(&self, other: &MachineType) -> Option<Ordering>
fn partial_cmp(&self, other: &MachineType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for MachineType
impl Serialize for MachineType
source§impl TryFrom<&str> for MachineType
impl TryFrom<&str> for MachineType
source§impl TryFrom<u8> for MachineType
impl TryFrom<u8> for MachineType
impl Copy for MachineType
impl Eq for MachineType
impl StructuralEq for MachineType
impl StructuralPartialEq for MachineType
Auto Trait Implementations§
impl RefUnwindSafe for MachineType
impl Send for MachineType
impl Sync for MachineType
impl Unpin for MachineType
impl UnwindSafe for MachineType
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