pub enum NoteKind {
Visible,
Invisible,
Long,
Landmine,
}
Expand description
A kind of the note.
Variants§
Visible
A normal note can be seen by the user.
Invisible
A invisible note cannot be played by the user.
Long
A long-press note (LN), requires the user to hold pressing the key.
Landmine
A landmine note that treated as POOR judgement when
Implementations§
Trait Implementations§
impl Copy for NoteKind
impl Eq for NoteKind
impl StructuralPartialEq for NoteKind
Auto Trait Implementations§
impl Freeze for NoteKind
impl RefUnwindSafe for NoteKind
impl Send for NoteKind
impl Sync for NoteKind
impl Unpin for NoteKind
impl UnwindSafe for NoteKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more