pub struct Beatmap {
pub version: i32,
pub general: GeneralSection,
pub editor: EditorSection,
pub metadata: MetadataSection,
pub timing_points: Vec<TimingPoint>,
pub hit_objects: Vec<HitObject>,
pub difficulty: DifficultySection,
pub colours: ColoursSection,
}
Expand description
Represents an osu! beatmap file. Includes information specified in the specification.
NOTE: This is missing the Event section, as parsing for this has yet to be implemented in this crate.
Fields
version: i32
general: GeneralSection
editor: EditorSection
metadata: MetadataSection
timing_points: Vec<TimingPoint>
hit_objects: Vec<HitObject>
difficulty: DifficultySection
colours: ColoursSection
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Beatmap
impl Send for Beatmap
impl Sync for Beatmap
impl Unpin for Beatmap
impl UnwindSafe for Beatmap
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more