pub enum NoteState {
Playing,
Released(Playhead),
}
Expand description
The current state of the Voice’s note playback.
Variants§
Playing
The note is current playing.
Released(Playhead)
The note has been released and is fading out.
Trait Implementations§
impl Copy for NoteState
impl StructuralPartialEq for NoteState
Auto Trait Implementations§
impl Freeze for NoteState
impl RefUnwindSafe for NoteState
impl Send for NoteState
impl Sync for NoteState
impl Unpin for NoteState
impl UnwindSafe for NoteState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more