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.
Is number of milliseconds before the audio file should begin playing.
Useful for audio files that begin immediately.
Is the number of milliseconds before the audio file should begin
playing when selected in the song selection menu.
Whether or not a countdown should occur before the first hit object
appears.
Specifies which set of hit sounds will be used throughout the beatmap.
Unlike the sample_set
field in HitObjectExtras
,
this value is a string.
Whether or not display the storyboard in front of combo fire.
Use special Style (N+1 style) for osu!mania.
Returns the "default value" for a type. Read more
Formats the value using the given formatter. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static