pub struct ExpRamp<const BUFSIZE: usize> { /* private fields */ }Expand description
Exponential Ramp
Implementations§
Trait Implementations§
impl<const BUFSIZE: usize> Copy for ExpRamp<BUFSIZE>
Source§impl<const BUFSIZE: usize> MonoSource<BUFSIZE> for ExpRamp<BUFSIZE>
impl<const BUFSIZE: usize> MonoSource<BUFSIZE> for ExpRamp<BUFSIZE>
fn reset(&mut self)
fn finish(&mut self)
fn is_finished(&self) -> bool
fn set_modulator( &mut self, _: SynthParameterLabel, _: f32, _: Modulator<BUFSIZE>, )
fn set_parameter(&mut self, _: SynthParameterLabel, _: &SynthParameterValue)
fn get_next_block( &mut self, start_sample: usize, _: &[SampleBuffer], ) -> [f32; BUFSIZE]
Source§fn set_param_or_modulator(
&mut self,
par: SynthParameterLabel,
val_or_mod: ValueOrModulator<BUFSIZE>,
)
fn set_param_or_modulator( &mut self, par: SynthParameterLabel, val_or_mod: ValueOrModulator<BUFSIZE>, )
default impl so we have a common interface …
fn get_next_block_with_input( &mut self, start_sample: usize, _input: &[f32; BUFSIZE], in_buffers: &[SampleBuffer], ) -> [f32; BUFSIZE]
Auto Trait Implementations§
impl<const BUFSIZE: usize> Freeze for ExpRamp<BUFSIZE>
impl<const BUFSIZE: usize> RefUnwindSafe for ExpRamp<BUFSIZE>
impl<const BUFSIZE: usize> Send for ExpRamp<BUFSIZE>
impl<const BUFSIZE: usize> Sync for ExpRamp<BUFSIZE>
impl<const BUFSIZE: usize> Unpin for ExpRamp<BUFSIZE>
impl<const BUFSIZE: usize> UnsafeUnpin for ExpRamp<BUFSIZE>
impl<const BUFSIZE: usize> UnwindSafe for ExpRamp<BUFSIZE>
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