pub struct OscillatorProcessor {
pub oscillator: Oscillator<f32>,
}
Fields§
§oscillator: Oscillator<f32>
Trait Implementations§
Source§impl Clone for OscillatorProcessor
impl Clone for OscillatorProcessor
Source§fn clone(&self) -> OscillatorProcessor
fn clone(&self) -> OscillatorProcessor
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 MonoAudioProcessor for OscillatorProcessor
impl MonoAudioProcessor for OscillatorProcessor
type SampleType = f32
fn m_prepare(&mut self, context: &mut AudioContext)
fn m_process( &mut self, _context: &mut AudioContext, _sample: Self::SampleType, ) -> Self::SampleType
Auto Trait Implementations§
impl Freeze for OscillatorProcessor
impl RefUnwindSafe for OscillatorProcessor
impl Send for OscillatorProcessor
impl Sync for OscillatorProcessor
impl Unpin for OscillatorProcessor
impl UnwindSafe for OscillatorProcessor
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