Struct gilrs::ff::Envelope[][src]

pub struct Envelope {
    pub attack_length: Ticks,
    pub attack_level: f32,
    pub fade_length: Ticks,
    pub fade_level: f32,
}

Envelope shaped attenuation(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. Read more

impl Default for Envelope
[src]

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

Auto Trait Implementations

impl Send for Envelope

impl Sync for Envelope