Struct peace_performance::parse::Beatmap [−][src]
pub struct Beatmap {}Show 15 fields
pub mode: GameMode, pub version: u8, pub n_circles: u32, pub n_sliders: u32, pub n_spinners: u32, pub ar: f32, pub od: f32, pub cs: f32, pub hp: f32, pub sv: f32, pub tick_rate: f32, pub hit_objects: Vec<HitObject>, pub timing_points: Vec<TimingPoint>, pub difficulty_points: Vec<DifficultyPoint>, pub stack_leniency: f32,
Expand description
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>
stack_leniency: f32
Implementations
Trait Implementations
Calculate the stars and other attributes of a beatmap which are required for pp calculation.
Auto Trait Implementations
impl RefUnwindSafe for Beatmap
impl UnwindSafe for Beatmap
Blanket Implementations
Mutably borrows from an owned value. Read more