pub enum NotePriority {
Last,
High,
Low,
}
Expand description
Note priority is represented here
When more than one note is played at a time on a monophonic instrument, we need to decide which note takes priority.
-
Last
priority means that whichever note was played most recently wins -
High
priority means that whichever note is highest in pitch wins -
Low
priority means that whichever note is lowest in pitch wins
Variants§
Auto Trait Implementations§
impl Freeze for NotePriority
impl RefUnwindSafe for NotePriority
impl Send for NotePriority
impl Sync for NotePriority
impl Unpin for NotePriority
impl UnwindSafe for NotePriority
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