pub struct DifficultyAttributes {
pub stars: f32,
pub ar: f32,
pub od: f32,
pub speed_strain: f32,
pub aim_strain: f32,
pub max_combo: usize,
pub n_circles: usize,
pub n_spinners: usize,
}Available on crate feature
osu only.Expand description
Various data created through the star calculation. This data is necessary to calculate PP.
Fields§
§stars: f32§ar: f32§od: f32§speed_strain: f32§aim_strain: f32§max_combo: usize§n_circles: usize§n_spinners: usizeTrait Implementations§
Source§impl Clone for DifficultyAttributes
impl Clone for DifficultyAttributes
Source§fn clone(&self) -> DifficultyAttributes
fn clone(&self) -> DifficultyAttributes
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 DifficultyAttributes
impl Debug for DifficultyAttributes
Source§impl Default for DifficultyAttributes
impl Default for DifficultyAttributes
Source§fn default() -> DifficultyAttributes
fn default() -> DifficultyAttributes
Returns the “default value” for a type. Read more
Source§impl OsuAttributeProvider for DifficultyAttributes
impl OsuAttributeProvider for DifficultyAttributes
fn attributes(self) -> Option<DifficultyAttributes>
Auto Trait Implementations§
impl Freeze for DifficultyAttributes
impl RefUnwindSafe for DifficultyAttributes
impl Send for DifficultyAttributes
impl Sync for DifficultyAttributes
impl Unpin for DifficultyAttributes
impl UnwindSafe for DifficultyAttributes
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