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.
-
Lastpriority means that whichever note was played most recently wins -
Highpriority means that whichever note is highest in pitch wins -
Lowpriority means that whichever note is lowest in pitch wins
Variants§
Auto Trait Implementations§
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