#[repr(u8)]pub enum GameMode {
Osu,
Taiko,
Catch,
Mania,
}
Expand description
Available game modes
Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for GameMode
impl<'de> Deserialize<'de> for GameMode
source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for GameMode
impl Ord for GameMode
source§impl PartialEq<GameMode> for GameMode
impl PartialEq<GameMode> for GameMode
source§impl PartialOrd<GameMode> for GameMode
impl PartialOrd<GameMode> for GameMode
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for GameMode
impl Eq for GameMode
impl StructuralEq for GameMode
impl StructuralPartialEq for GameMode
Auto Trait Implementations§
impl RefUnwindSafe for GameMode
impl Send for GameMode
impl Sync for GameMode
impl Unpin for GameMode
impl UnwindSafe for GameMode
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.