Enum surge_traits::imports::OscillatorType
source · [−]pub enum OscillatorType {
Off,
AbstractBlit,
AudioInput,
SurgeSuperOscillator,
FM,
FM2,
SampleAndHold,
Sine,
Wavetable,
Window,
}
Variants
Off
AbstractBlit
AudioInput
SurgeSuperOscillator
FM
FM2
SampleAndHold
Sine
Wavetable
Window
Implementations
sourceimpl OscillatorType
impl OscillatorType
pub fn uses_wavetabledata(&self) -> bool
Trait Implementations
sourceimpl Clone for OscillatorType
impl Clone for OscillatorType
sourcefn clone(&self) -> OscillatorType
fn clone(&self) -> OscillatorType
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 OscillatorType
impl Debug for OscillatorType
sourceimpl Display for OscillatorType
impl Display for OscillatorType
sourceimpl Hash for OscillatorType
impl Hash for OscillatorType
sourceimpl<T> Index<OscillatorType> for OscillatorTypeArray<T>
impl<T> Index<OscillatorType> for OscillatorTypeArray<T>
type Output = T
type Output = T
The returned type after indexing.
sourcefn index(
&self,
x: OscillatorType
) -> &<OscillatorTypeArray<T> as Index<OscillatorType>>::Output
fn index(
&self,
x: OscillatorType
) -> &<OscillatorTypeArray<T> as Index<OscillatorType>>::Output
Performs the indexing (container[index]
) operation. Read more
sourceimpl<T> IndexMut<OscillatorType> for OscillatorTypeArray<T>
impl<T> IndexMut<OscillatorType> for OscillatorTypeArray<T>
sourcefn index_mut(
&mut self,
x: OscillatorType
) -> &mut <OscillatorTypeArray<T> as Index<OscillatorType>>::Output
fn index_mut(
&mut self,
x: OscillatorType
) -> &mut <OscillatorTypeArray<T> as Index<OscillatorType>>::Output
Performs the mutable indexing (container[index]
) operation. Read more
sourceimpl Ord for OscillatorType
impl Ord for OscillatorType
sourceimpl PartialEq<OscillatorType> for OscillatorType
impl PartialEq<OscillatorType> for OscillatorType
sourceimpl PartialOrd<OscillatorType> for OscillatorType
impl PartialOrd<OscillatorType> for OscillatorType
sourcefn partial_cmp(&self, other: &OscillatorType) -> Option<Ordering>
fn partial_cmp(&self, other: &OscillatorType) -> 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 OscillatorType
impl<'_> TryFrom<&'_ str> for OscillatorType
sourceimpl TryFrom<u32> for OscillatorType
impl TryFrom<u32> for OscillatorType
sourceimpl TryFrom<u64> for OscillatorType
impl TryFrom<u64> for OscillatorType
sourceimpl TryFrom<usize> for OscillatorType
impl TryFrom<usize> for OscillatorType
impl Copy for OscillatorType
impl Eq for OscillatorType
impl StructuralEq for OscillatorType
impl StructuralPartialEq for OscillatorType
Auto Trait Implementations
impl RefUnwindSafe for OscillatorType
impl Send for OscillatorType
impl Sync for OscillatorType
impl Unpin for OscillatorType
impl UnwindSafe for OscillatorType
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