[][src]Struct osuparse::Beatmap

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,
}

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

The version of the .osu file format.

general: GeneralSectioneditor: EditorSectionmetadata: MetadataSectiontiming_points: Vec<TimingPoint>hit_objects: Vec<HitObject>difficulty: DifficultySectioncolours: ColoursSection

Trait Implementations

impl Default for Beatmap
[src]

Auto Trait Implementations

impl Send for Beatmap

impl Sync for Beatmap

Blanket Implementations

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

impl<T> From for T
[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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