Struct synfx_dsp::EnvADSRParams
source · [−]pub struct EnvADSRParams {
pub attack_ms: f32,
pub attack_shape: f32,
pub decay_ms: f32,
pub decay_shape: f32,
pub sustain: f32,
pub release_ms: f32,
pub release_shape: f32,
}
Fields
attack_ms: f32
attack_shape: f32
decay_ms: f32
decay_shape: f32
sustain: f32
release_ms: f32
release_shape: f32
Trait Implementations
sourceimpl Clone for EnvADSRParams
impl Clone for EnvADSRParams
sourcefn clone(&self) -> EnvADSRParams
fn clone(&self) -> EnvADSRParams
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 moresourceimpl Debug for EnvADSRParams
impl Debug for EnvADSRParams
sourceimpl Default for EnvADSRParams
impl Default for EnvADSRParams
impl Copy for EnvADSRParams
Auto Trait Implementations
impl RefUnwindSafe for EnvADSRParams
impl Send for EnvADSRParams
impl Sync for EnvADSRParams
impl Unpin for EnvADSRParams
impl UnwindSafe for EnvADSRParams
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