pub enum NoteKind<P> {
Tap,
Hold {
end_pos: P,
},
Mine,
Roll {
end_pos: P,
},
Lift,
Fake,
}Expand description
Note-type specific data
Variants§
Tap
Normal tap
Hold
Hold note, spanning from this note’s row up to end_row
Fields
§
end_pos: PWhere this hold note ends
Mine
Mine note
Roll
Roll note, spanning from this note’s row up to end_row
Fields
§
end_pos: PWhere this roll note ends
Lift
Lift note
Fake
Fake note
Trait Implementations§
Source§impl<P: Ord> Ord for NoteKind<P>
impl<P: Ord> Ord for NoteKind<P>
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<P: PartialOrd> PartialOrd for NoteKind<P>
impl<P: PartialOrd> PartialOrd for NoteKind<P>
impl<P: Eq> Eq for NoteKind<P>
impl<P> StructuralPartialEq for NoteKind<P>
Auto Trait Implementations§
impl<P> Freeze for NoteKind<P>where
P: Freeze,
impl<P> RefUnwindSafe for NoteKind<P>where
P: RefUnwindSafe,
impl<P> Send for NoteKind<P>where
P: Send,
impl<P> Sync for NoteKind<P>where
P: Sync,
impl<P> Unpin for NoteKind<P>where
P: Unpin,
impl<P> UnwindSafe for NoteKind<P>where
P: UnwindSafe,
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