Struct rosu_pp::Beatmap [−][src]
The main beatmap struct containing all data relevant for difficulty and pp calculation
Fields
mode: GameMode
version: u8
n_circles: u32
n_sliders: u32
n_spinners: u32
ar: f32
od: f32
cs: f32
hp: f32
sv: f32
tick_rate: f32
hit_objects: Vec<HitObject>
timing_points: Vec<TimingPoint>
difficulty_points: Vec<DifficultyPoint>
Implementations
impl Beatmap
[src]
pub fn parse<R: Read>(input: R) -> ParseResult<Self>
[src]
pub fn attributes(&self) -> BeatmapAttributes
[src]
Trait Implementations
impl BeatmapExt for Beatmap
[src]
fn stars(&self, mods: impl Mods, passed_objects: Option<usize>) -> StarResult
[src]
fn max_pp(&self, mods: u32) -> PpResult
[src]
fn pp(&self) -> AnyPP<'_>
[src]
fn strains(&self, mods: impl Mods) -> Strains
[src]
impl Clone for Beatmap
[src]
impl Debug for Beatmap
[src]
impl Default for Beatmap
[src]
Auto Trait Implementations
impl RefUnwindSafe for Beatmap
[src]
impl Send for Beatmap
[src]
impl Sync for Beatmap
[src]
impl Unpin for Beatmap
[src]
impl UnwindSafe for Beatmap
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,