Enum rsynth::note::NoteState [−][src]
pub enum NoteState { Nil, Off, On, }
A more readable boolean for keeping track of a note's state
Variants
Nil
Off
The note is off and should start Releasing
a voice, if applicable
On
The note is on
Methods
impl NoteState
[src]
impl NoteState
Trait Implementations
impl PartialEq for NoteState
[src]
impl PartialEq for NoteState
fn eq(&self, other: &NoteState) -> bool
[src]
fn eq(&self, other: &NoteState) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Clone for NoteState
[src]
impl Clone for NoteState