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

Trait Implementations

impl Copy for Envelope
[src]

impl Clone for Envelope
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Envelope
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for Envelope
[src]

Formats the value using the given formatter.

impl Default for Envelope
[src]

Returns the "default value" for a type. Read more