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