Struct gilrs::ff::Envelope
[−]
[src]
pub struct Envelope { pub attack_length: u16, pub attack_level: u16, pub fade_length: u16, pub fade_level: u16, }
Envelope shaped gain(time) function.
Fields
attack_length: u16
attack_level: u16
fade_length: u16
fade_level: u16
Trait Implementations
impl Copy for Envelope
[src]
impl Clone for Envelope
[src]
fn clone(&self) -> Envelope
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for Envelope
[src]
fn eq(&self, __arg_0: &Envelope) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Envelope) -> bool
This method tests for !=
.