[][src]Struct osuparse::GeneralSection

pub struct GeneralSection {
    pub audio_filename: String,
    pub audio_lead_in: i32,
    pub preview_time: i32,
    pub countdown: bool,
    pub sample_set: String,
    pub stack_leniency: f32,
    pub countdown_offset: i32,
    pub skin_preference: String,
    pub game_mode: GameMode,
    pub letterbox_in_breaks: bool,
    pub widescreen_storyboard: bool,
    pub story_fire_in_front: bool,
    pub special_style: bool,
    pub epilepsy_warning: bool,
    pub use_skin_sprites: bool,
}

General properties of a beatmap.

Fields

audio_filename: Stringaudio_lead_in: i32

Is number of milliseconds before the audio file should begin playing. Useful for audio files that begin immediately.

preview_time: i32

Is the number of milliseconds before the audio file should begin playing when selected in the song selection menu.

countdown: bool

Whether or not a countdown should occur before the first hit object appears.

sample_set: String

Specifies which set of hit sounds will be used throughout the beatmap. Unlike the sample_set field in HitObjectExtras, this value is a string.

stack_leniency: f32countdown_offset: i32skin_preference: Stringgame_mode: GameModeletterbox_in_breaks: boolwidescreen_storyboard: boolstory_fire_in_front: bool

Whether or not display the storyboard in front of combo fire.

special_style: bool

Use special Style (N+1 style) for osu!mania.

epilepsy_warning: booluse_skin_sprites: bool

Trait Implementations

impl Default for GeneralSection
[src]

impl Debug for GeneralSection
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<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> BorrowMut for T where
    T: ?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> Any for T where
    T: 'static + ?Sized
[src]