Struct rosu_pp::osu::OsuStrains
source · pub struct OsuStrains {
pub aim: Vec<f64>,
pub aim_no_sliders: Vec<f64>,
pub speed: Vec<f64>,
pub flashlight: Vec<f64>,
}
Expand description
The result of calculating the strains on a osu! map.
Suitable to plot the difficulty of a map over time.
Fields§
§aim: Vec<f64>
Strain peaks of the aim skill.
aim_no_sliders: Vec<f64>
Strain peaks of the aim skill without sliders.
speed: Vec<f64>
Strain peaks of the speed skill.
flashlight: Vec<f64>
Strain peaks of the flashlight skill.
Implementations§
source§impl OsuStrains
impl OsuStrains
sourcepub const SECTION_LEN: f64 = 400f64
pub const SECTION_LEN: f64 = 400f64
Time between two strains in ms.
Trait Implementations§
source§impl Clone for OsuStrains
impl Clone for OsuStrains
source§fn clone(&self) -> OsuStrains
fn clone(&self) -> OsuStrains
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 OsuStrains
impl Debug for OsuStrains
source§impl From<OsuStrains> for Strains
impl From<OsuStrains> for Strains
source§fn from(strains: OsuStrains) -> Self
fn from(strains: OsuStrains) -> Self
Converts to this type from the input type.
source§impl PartialEq for OsuStrains
impl PartialEq for OsuStrains
source§fn eq(&self, other: &OsuStrains) -> bool
fn eq(&self, other: &OsuStrains) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for OsuStrains
Auto Trait Implementations§
impl Freeze for OsuStrains
impl RefUnwindSafe for OsuStrains
impl Send for OsuStrains
impl Sync for OsuStrains
impl Unpin for OsuStrains
impl UnwindSafe for OsuStrains
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