pub enum MachineParameters {
Show 35 variants
BdHard(BdHardParameters),
BdClassic(BdClassicParameters),
SdHard(SdHardParameters),
SdClassic(SdClassicParameters),
RsHard(RsHardParameters),
RsClassic(RsClassicParameters),
CpClassic(CpClassicParameters),
BtClassic(BtClassicParameters),
XtClassic(XtClassicParameters),
ChClassic(ChClassicParameters),
OhClassic(OhClassicParameters),
CyClassic(CyClassicParameters),
CbClassic(CbClassicParameters),
BdFm(BdFmParameters),
SdFm(SdFmParameters),
UtNoise(UtNoiseParameters),
UtImpulse(UtImpulseParameters),
ChMetallic(ChMetallicParameters),
OhMetallic(OhMetallicParameters),
CyMetallic(CyMetallicParameters),
CbMetallic(CbMetallicParameters),
BdPlastic(BdPlasticParameters),
BdSilky(BdSilkyParameters),
SdNatural(SdNaturalParameters),
HhBasic(HhBasicParameters),
CyRide(CyRideParameters),
BdSharp(BdSharpParameters),
Disable,
SyDualVco(SyDualVcoParameters),
SyChip(SyChipParameters),
BdAcoustic(BdAcousticParameters),
SdAcoustic(SdAcousticParameters),
SyRaw(SyRawParameters),
HhLab(HhLabParameters),
Unset,
}
Expand description
Machine parameters of a sound.
Every machine has distinct parameters and ranges for those parameters.
Not every machine can be assigned to every track.
Variants§
BdHard(BdHardParameters)
BdClassic(BdClassicParameters)
SdHard(SdHardParameters)
SdClassic(SdClassicParameters)
RsHard(RsHardParameters)
RsClassic(RsClassicParameters)
CpClassic(CpClassicParameters)
BtClassic(BtClassicParameters)
XtClassic(XtClassicParameters)
ChClassic(ChClassicParameters)
OhClassic(OhClassicParameters)
CyClassic(CyClassicParameters)
CbClassic(CbClassicParameters)
BdFm(BdFmParameters)
SdFm(SdFmParameters)
UtNoise(UtNoiseParameters)
UtImpulse(UtImpulseParameters)
ChMetallic(ChMetallicParameters)
OhMetallic(OhMetallicParameters)
CyMetallic(CyMetallicParameters)
CbMetallic(CbMetallicParameters)
BdPlastic(BdPlasticParameters)
BdSilky(BdSilkyParameters)
SdNatural(SdNaturalParameters)
HhBasic(HhBasicParameters)
CyRide(CyRideParameters)
BdSharp(BdSharpParameters)
Disable
SyDualVco(SyDualVcoParameters)
SyChip(SyChipParameters)
BdAcoustic(BdAcousticParameters)
SdAcoustic(SdAcousticParameters)
SyRaw(SyRawParameters)
HhLab(HhLabParameters)
Unset
Implementations§
source§impl MachineParameters
impl MachineParameters
sourcepub fn try_default_for_track(track_index: usize) -> Result<Self, RytmError>
pub fn try_default_for_track(track_index: usize) -> Result<Self, RytmError>
Returns the default machine parameters for a given track.
Range 0..=11
Trait Implementations§
source§impl Clone for MachineParameters
impl Clone for MachineParameters
source§fn clone(&self) -> MachineParameters
fn clone(&self) -> MachineParameters
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 MachineParameters
impl Debug for MachineParameters
source§impl Default for MachineParameters
impl Default for MachineParameters
source§impl<'de> Deserialize<'de> for MachineParameters
impl<'de> Deserialize<'de> for MachineParameters
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 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 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.
Auto Trait Implementations§
impl RefUnwindSafe for MachineParameters
impl Send for MachineParameters
impl Sync for MachineParameters
impl Unpin for MachineParameters
impl UnwindSafe for MachineParameters
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