Enum instrument::mode::MonoKind [] [src]

pub enum MonoKind {
    Retrigger,
    Legato,
}

The state of monophony.

Variants

New notes will reset the voice's playheads

If a note is already playing, new notes will not reset the voice's playheads. A stack of notes is kept - if a NoteOff occurs on the current note, it is replaced with the note at the top of the stack if there is one. The stacked notes are reset if the voice becomes inactive.

Trait Implementations

impl Copy for MonoKind
[src]

impl Clone for MonoKind
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for MonoKind
[src]

Formats the value using the given formatter.

impl PartialEq for MonoKind
[src]

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

This method tests for !=.