Enum surge_param::ControlType
source · [−]pub enum ControlType {
Show 79 variants
Nil,
Percent,
PercentBidirectional,
PitchOctave,
PitchSemi7BP,
PitchSemi7BPAbsolutable,
Pitch,
FMRatio,
FMRatioInt,
PBDepth,
SyncPitch,
Amplitude,
ReverbShape,
Decibel,
DecibelNarrow,
DecibelNarrowExtendable,
DecibelExtraNarrow,
DecibelAttenuation,
DecibelAttenuationLarge,
DecibelFMDepth,
DecibelExtendable,
FreqAudible,
FreqMod,
FreqHpf,
FreqShift,
FreqVocoderLow,
FreqVocoderHigh,
Bandwidth,
EnvTime,
EnvTimeLfoDecay,
EnvShape,
EnvelopeMode,
DelayModTime,
ReverbTime,
ReverbPreDelayTime,
PortaTime,
LfoRate,
LfoShape,
LfoTrigMode,
Detuning,
OscType,
FxType,
FxBypass,
FbConfig,
FmConfig,
FilterType,
FilterSubType,
WaveshapeType,
Wt2Window,
OscCount,
OscCountWT,
OscSpread,
SceneMode,
SceneSel,
PolyMode,
PolyLimit,
MidiKey,
MidiKeyOrChannel,
Bool,
BoolRelativeSwitch,
BoolLinkSwitch,
BoolKeytrack,
BoolRetrigger,
BoolUnipolar,
BoolMute,
BoolSolo,
OscRoute,
StereoWidth,
BoolFM,
Character,
SineOscMode,
SineFMLegacy,
CountedSetPercent,
VocoderBandcount,
DistortionWaveshape,
FlangerPitch,
FlangerMode,
FlangerVoices,
Unknown,
}Variants
Nil
Percent
PercentBidirectional
PitchOctave
PitchSemi7BP
PitchSemi7BPAbsolutable
Pitch
FMRatio
FMRatioInt
PBDepth
SyncPitch
Amplitude
ReverbShape
Decibel
DecibelNarrow
DecibelNarrowExtendable
DecibelExtraNarrow
DecibelAttenuation
DecibelAttenuationLarge
DecibelFMDepth
DecibelExtendable
FreqAudible
FreqMod
FreqHpf
FreqShift
FreqVocoderLow
FreqVocoderHigh
Bandwidth
EnvTime
EnvTimeLfoDecay
EnvShape
EnvelopeMode
DelayModTime
ReverbTime
ReverbPreDelayTime
PortaTime
LfoRate
LfoShape
LfoTrigMode
Detuning
OscType
FxType
FxBypass
FbConfig
FmConfig
FilterType
FilterSubType
WaveshapeType
Wt2Window
OscCount
OscCountWT
OscSpread
SceneMode
SceneSel
PolyMode
PolyLimit
MidiKey
MidiKeyOrChannel
Bool
BoolRelativeSwitch
BoolLinkSwitch
BoolKeytrack
BoolRetrigger
BoolUnipolar
BoolMute
BoolSolo
OscRoute
StereoWidth
BoolFM
Character
SineOscMode
SineFMLegacy
CountedSetPercent
VocoderBandcount
DistortionWaveshape
FlangerPitch
FlangerMode
FlangerVoices
Unknown
Implementations
Trait Implementations
sourceimpl Clone for ControlType
impl Clone for ControlType
sourcefn clone(&self) -> ControlType
fn clone(&self) -> ControlType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ControlType
impl Debug for ControlType
sourceimpl Display for ControlType
impl Display for ControlType
sourceimpl Hash for ControlType
impl Hash for ControlType
sourceimpl<T> Index<ControlType> for ControlTypeArray<T>
impl<T> Index<ControlType> for ControlTypeArray<T>
sourceimpl<T> IndexMut<ControlType> for ControlTypeArray<T>
impl<T> IndexMut<ControlType> for ControlTypeArray<T>
sourcefn index_mut(&mut self, x: ControlType) -> &mut Self::Output
fn index_mut(&mut self, x: ControlType) -> &mut Self::Output
Performs the mutable indexing (container[index]) operation. Read more
sourceimpl Ord for ControlType
impl Ord for ControlType
sourceimpl PartialEq<ControlType> for ControlType
impl PartialEq<ControlType> for ControlType
sourceimpl PartialOrd<ControlType> for ControlType
impl PartialOrd<ControlType> for ControlType
sourcefn partial_cmp(&self, other: &ControlType) -> Option<Ordering>
fn partial_cmp(&self, other: &ControlType) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn 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 more
sourceimpl TryFrom<&'_ str> for ControlType
impl TryFrom<&'_ str> for ControlType
sourceimpl TryFrom<u32> for ControlType
impl TryFrom<u32> for ControlType
sourceimpl TryFrom<u64> for ControlType
impl TryFrom<u64> for ControlType
sourceimpl TryFrom<usize> for ControlType
impl TryFrom<usize> for ControlType
impl Copy for ControlType
impl Eq for ControlType
impl StructuralEq for ControlType
impl StructuralPartialEq for ControlType
Auto Trait Implementations
impl RefUnwindSafe for ControlType
impl Send for ControlType
impl Sync for ControlType
impl Unpin for ControlType
impl UnwindSafe for ControlType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more