Struct rosu_pp::Strains[][src]

pub struct Strains {
    pub section_length: f32,
    pub strains: Vec<f32>,
}

The result of calculating the strains on a map. Suitable to plot the difficulty of a map over time.

strains will be the summed strains for each skill of the map’s mode.

section_length is the time in ms inbetween two strains.

Fields

section_length: f32strains: Vec<f32>

Trait Implementations

impl Clone for Strains[src]

impl Debug for Strains[src]

impl Default for Strains[src]

Auto Trait Implementations

impl RefUnwindSafe for Strains

impl Send for Strains

impl Sync for Strains

impl Unpin for Strains

impl UnwindSafe for Strains

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.