Struct osu_file_parser::osu_file::OsuFile
source · [−]#[non_exhaustive]pub struct OsuFile {
pub version: Version,
pub general: Option<General>,
pub editor: Option<Editor>,
pub osb: Option<Osb>,
pub metadata: Option<Metadata>,
pub difficulty: Option<Difficulty>,
pub events: Option<Events>,
pub timing_points: Option<TimingPoints>,
pub colours: Option<Colours>,
pub hitobjects: Option<HitObjects>,
}
Expand description
An .osu file represented as a struct.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.version: Version
Version of the file format.
general: Option<General>
General information about the beatmap.
key
:value
pairs.
editor: Option<Editor>
Saved settings for the beatmap editor.
key
:value
pairs.
osb: Option<Osb>
Contents of an .osb storyboard file.
metadata: Option<Metadata>
Information used to identify the beatmap.
key
:value
pairs.
difficulty: Option<Difficulty>
Difficulty settings.
key
:value
pairs.
events: Option<Events>
Beatmap and storyboard graphic events. Comma-separated lists.
timing_points: Option<TimingPoints>
Timing and control points. Comma-separated lists.
colours: Option<Colours>
Combo and skin colours.
key
: value
pairs.
hitobjects: Option<HitObjects>
Hit objects. Comma-separated lists.
Implementations
Trait Implementations
sourceimpl PartialEq<OsuFile> for OsuFile
impl PartialEq<OsuFile> for OsuFile
impl Eq for OsuFile
impl StructuralEq for OsuFile
impl StructuralPartialEq for OsuFile
Auto Trait Implementations
impl RefUnwindSafe for OsuFile
impl Send for OsuFile
impl Sync for OsuFile
impl Unpin for OsuFile
impl UnwindSafe for OsuFile
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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