Enum instrument::note_freq::Dynamic [] [src]

pub enum Dynamic {
    Portamento(PortamentoFreq),
    Constant(Hz),
}

A warpper for switching between different NoteFreqs at runtime.

Variants

Trait Implementations

impl Copy for Dynamic
[src]

impl Clone for Dynamic
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Dynamic
[src]

Formats the value using the given formatter.

impl PartialEq for Dynamic
[src]

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

This method tests for !=.

impl NoteFreq for Dynamic
[src]

Get the current Hz from the NoteFreq.

Calls NoteFreq::hz and then steps forward Self by one frame.