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