pub enum GameModeAttributes {
Osu {
aim_difficulty: f64,
slider_factor: f64,
speed_difficulty: f64,
speed_note_count: f64,
aim_difficult_slider_count: f64,
aim_difficult_strain_count: f64,
speed_difficult_strain_count: f64,
},
Taiko {
stamina_difficulty: f64,
rhythm_difficulty: f64,
reading_difficulty: f64,
colour_difficulty: f64,
mono_stamina_factor: f64,
stamina_difficult_strains: f64,
rhythm_difficult_strains: f64,
colour_difficult_strains: f64,
},
}Variants§
Trait Implementations§
Source§impl Clone for GameModeAttributes
impl Clone for GameModeAttributes
Source§fn clone(&self) -> GameModeAttributes
fn clone(&self) -> GameModeAttributes
Returns a duplicate 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 GameModeAttributes
impl Debug for GameModeAttributes
Source§impl<'de> Deserialize<'de> for GameModeAttributes
impl<'de> Deserialize<'de> for GameModeAttributes
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GameModeAttributes
impl PartialEq for GameModeAttributes
Source§impl Serialize for GameModeAttributes
impl Serialize for GameModeAttributes
impl StructuralPartialEq for GameModeAttributes
Auto Trait Implementations§
impl Freeze for GameModeAttributes
impl RefUnwindSafe for GameModeAttributes
impl Send for GameModeAttributes
impl Sync for GameModeAttributes
impl Unpin for GameModeAttributes
impl UnwindSafe for GameModeAttributes
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