pub enum JudgeLevel {
VeryHard,
Hard,
Normal,
Easy,
}
Expand description
A rank to determine judge level, but treatment differs among the BMS players.
Variants§
VeryHard
Rank 0, the most difficult rank.
Hard
Rank 1, the harder rank.
Normal
Rank 2, the easier rank.
Easy
Rank 3, the easiest rank.
Trait Implementations§
Source§impl Clone for JudgeLevel
impl Clone for JudgeLevel
Source§fn clone(&self) -> JudgeLevel
fn clone(&self) -> JudgeLevel
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for JudgeLevel
impl Debug for JudgeLevel
Source§impl Hash for JudgeLevel
impl Hash for JudgeLevel
Source§impl PartialEq for JudgeLevel
impl PartialEq for JudgeLevel
impl Copy for JudgeLevel
impl Eq for JudgeLevel
impl StructuralPartialEq for JudgeLevel
Auto Trait Implementations§
impl Freeze for JudgeLevel
impl RefUnwindSafe for JudgeLevel
impl Send for JudgeLevel
impl Sync for JudgeLevel
impl Unpin for JudgeLevel
impl UnwindSafe for JudgeLevel
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