pub struct Oscillator { /* private fields */ }Expand description
A minimal oscillator that produces multiple waveforms.
Trait Implementations§
Source§impl Default for Oscillator
impl Default for Oscillator
Source§fn default() -> Oscillator
fn default() -> Oscillator
Returns the “default value” for a type. Read more
Source§impl Processor for Oscillator
impl Processor for Oscillator
Source§type Params = OscillatorParams
type Params = OscillatorParams
Associated parameter type for this processor. Read more
Source§fn set_sample_rate(&mut self, sample_rate: f32)
fn set_sample_rate(&mut self, sample_rate: f32)
Called when the sample rate changes. Read more
Auto Trait Implementations§
impl Freeze for Oscillator
impl RefUnwindSafe for Oscillator
impl Send for Oscillator
impl Sync for Oscillator
impl Unpin for Oscillator
impl UnsafeUnpin for Oscillator
impl UnwindSafe for Oscillator
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