Struct synfx_dsp::EnvRetrigADSR
source · [−]pub struct EnvRetrigADSR { /* private fields */ }
Implementations
sourceimpl EnvRetrigADSR
impl EnvRetrigADSR
sourcepub fn set_sample_rate(&mut self, srate: f32)
pub fn set_sample_rate(&mut self, srate: f32)
Set the sample rate of the envelope. Unit in samples per second.
pub fn tick(&mut self, gate: f32, params: &mut EnvADSRParams) -> (f32, f32)
Trait Implementations
sourceimpl Clone for EnvRetrigADSR
impl Clone for EnvRetrigADSR
sourcefn clone(&self) -> EnvRetrigADSR
fn clone(&self) -> EnvRetrigADSR
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 moreAuto Trait Implementations
impl RefUnwindSafe for EnvRetrigADSR
impl Send for EnvRetrigADSR
impl Sync for EnvRetrigADSR
impl Unpin for EnvRetrigADSR
impl UnwindSafe for EnvRetrigADSR
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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