Enum rosu_v2::model::beatmap::GameModeAttributes
source · pub enum GameModeAttributes {
Osu {
ar: f32,
od: f32,
aim_difficulty: f32,
flashlight_difficulty: f32,
slider_factor: f32,
speed_difficulty: f32,
},
Taiko {
stamina_difficulty: f32,
rhythm_difficulty: f32,
colour_difficulty: f32,
peak_difficulty: f32,
great_hit_window: f32,
},
Catch {
ar: f32,
},
Mania {
great_hit_window: f32,
score_multiplier: f32,
},
}
Variants§
Trait Implementations§
source§impl Clone for GameModeAttributes
impl Clone for GameModeAttributes
source§fn clone(&self) -> GameModeAttributes
fn clone(&self) -> GameModeAttributes
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 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<GameModeAttributes> for GameModeAttributes
impl PartialEq<GameModeAttributes> for GameModeAttributes
source§fn eq(&self, other: &GameModeAttributes) -> bool
fn eq(&self, other: &GameModeAttributes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GameModeAttributes
Auto Trait Implementations§
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