Struct osuparse::Beatmap

source ·
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: i32general: GeneralSectioneditor: EditorSectionmetadata: MetadataSectiontiming_points: Vec<TimingPoint>hit_objects: Vec<HitObject>difficulty: DifficultySectioncolours: ColoursSection

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.