Struct rosu_pp::model::beatmap::BeatmapAttributes
source · pub struct BeatmapAttributes {
pub ar: f64,
pub od: f64,
pub cs: f64,
pub hp: f64,
pub clock_rate: f64,
pub hit_windows: HitWindows,
}
Expand description
Summary struct for a Beatmap
’s attributes.
Fields§
§ar: f64
The approach rate.
od: f64
The overall difficulty.
cs: f64
The circle size.
hp: f64
The health drain rate
clock_rate: f64
The clock rate with respect to mods.
hit_windows: HitWindows
The hit windows for approach rate and overall difficulty.
Trait Implementations§
source§impl Clone for BeatmapAttributes
impl Clone for BeatmapAttributes
source§fn clone(&self) -> BeatmapAttributes
fn clone(&self) -> BeatmapAttributes
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 BeatmapAttributes
impl Debug for BeatmapAttributes
source§impl PartialEq for BeatmapAttributes
impl PartialEq for BeatmapAttributes
source§fn eq(&self, other: &BeatmapAttributes) -> bool
fn eq(&self, other: &BeatmapAttributes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BeatmapAttributes
Auto Trait Implementations§
impl Freeze for BeatmapAttributes
impl RefUnwindSafe for BeatmapAttributes
impl Send for BeatmapAttributes
impl Sync for BeatmapAttributes
impl Unpin for BeatmapAttributes
impl UnwindSafe for BeatmapAttributes
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