pub struct GeneralSection {
Show 13 fields 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 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,
}
Expand description

General properties of a beatmap.

Fields

audio_filename: Stringaudio_lead_in: i32preview_time: i32countdown: boolsample_set: Stringstack_leniency: f32game_mode: GameModeletterbox_in_breaks: boolwidescreen_storyboard: boolstory_fire_in_front: boolspecial_style: boolepilepsy_warning: booluse_skin_sprites: bool

Trait Implementations

Formats the value using the given formatter. Read more
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.