Enum surge_wavetable::imports::imports::ControlType [−]
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
Implementations
impl ControlType
impl ControlType
pub fn iter() -> impl Iterator<Item = ControlType>
pub fn iter() -> impl Iterator<Item = ControlType>
Iterate over all variants in this enum, in sorted order.
Trait Implementations
impl Clone for ControlType
impl Clone for ControlType
pub fn clone(&self) -> ControlType
pub fn clone(&self) -> ControlType
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for ControlType
impl Debug for ControlType
impl Display for ControlType
impl Display for ControlType
impl Hash for ControlType
impl Hash for ControlType
impl<T> Index<ControlType> for ControlTypeArray<T>
impl<T> Index<ControlType> for ControlTypeArray<T>
type Output = T
type Output = T
The returned type after indexing.
pub fn index(
&self,
x: ControlType
) -> &<ControlTypeArray<T> as Index<ControlType>>::Output
pub fn index(
&self,
x: ControlType
) -> &<ControlTypeArray<T> as Index<ControlType>>::Output
Performs the indexing (container[index]
) operation. Read more
impl<T> IndexMut<ControlType> for ControlTypeArray<T>
impl<T> IndexMut<ControlType> for ControlTypeArray<T>
pub fn index_mut(
&mut self,
x: ControlType
) -> &mut <ControlTypeArray<T> as Index<ControlType>>::Output
pub fn index_mut(
&mut self,
x: ControlType
) -> &mut <ControlTypeArray<T> as Index<ControlType>>::Output
Performs the mutable indexing (container[index]
) operation. Read more
impl Ord for ControlType
impl Ord for ControlType
pub fn cmp(&self, other: &ControlType) -> Ordering
pub fn cmp(&self, other: &ControlType) -> Ordering
Compares and returns the maximum of two values. Read more
Compares and returns the minimum of two values. Read more
impl PartialEq<ControlType> for ControlType
impl PartialEq<ControlType> for ControlType
impl PartialOrd<ControlType> for ControlType
impl PartialOrd<ControlType> for ControlType
pub fn partial_cmp(&self, other: &ControlType) -> Option<Ordering>
pub fn partial_cmp(&self, other: &ControlType) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
impl<'_> TryFrom<&'_ str> for ControlType
impl<'_> TryFrom<&'_ str> for ControlType
pub fn try_from(
value: &str
) -> Result<ControlType, <ControlType as TryFrom<&'_ str>>::Error>
pub fn try_from(
value: &str
) -> Result<ControlType, <ControlType as TryFrom<&'_ str>>::Error>
Performs the conversion.
impl TryFrom<u32> for ControlType
impl TryFrom<u32> for ControlType
pub fn try_from(
value: u32
) -> Result<ControlType, <ControlType as TryFrom<u32>>::Error>
pub fn try_from(
value: u32
) -> Result<ControlType, <ControlType as TryFrom<u32>>::Error>
Performs the conversion.
impl TryFrom<u64> for ControlType
impl TryFrom<u64> for ControlType
pub fn try_from(
value: u64
) -> Result<ControlType, <ControlType as TryFrom<u64>>::Error>
pub fn try_from(
value: u64
) -> Result<ControlType, <ControlType as TryFrom<u64>>::Error>
Performs the conversion.
impl TryFrom<usize> for ControlType
impl TryFrom<usize> for ControlType
pub fn try_from(
value: usize
) -> Result<ControlType, <ControlType as TryFrom<usize>>::Error>
pub fn try_from(
value: usize
) -> Result<ControlType, <ControlType as TryFrom<usize>>::Error>
Performs the conversion.
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
Mutably borrows from an owned value. Read more