Enum rsynth::note::NoteState[][src]

pub enum NoteState {
    Nil,
    Off,
    On,
}

A more readable boolean for keeping track of a note's state

Variants

The note is off and should start Releasing a voice, if applicable

The note is on

Methods

impl NoteState
[src]

Trait Implementations

impl PartialEq for NoteState
[src]

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

This method tests for !=.

impl Clone for NoteState
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for NoteState

impl Sync for NoteState