pub struct Oscillator { /* private fields */ }
Implementations§
Source§impl Oscillator
impl Oscillator
pub fn new(amp: f32, freq: f32) -> Oscillator
pub fn with_input(amp: f32, freq: f32, input: Oscillator) -> Oscillator
pub fn frequency_modulation(&self, time: f32) -> f32
Trait Implementations§
Source§impl Clone for Oscillator
impl Clone for Oscillator
Source§fn clone(&self) -> Oscillator
fn clone(&self) -> Oscillator
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for Oscillator
impl RefUnwindSafe for Oscillator
impl Send for Oscillator
impl Sync for Oscillator
impl Unpin 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