pub struct GeneralSection {Show 15 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 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,
}
Expand description
General properties of a beatmap.
Fields§
§audio_filename: String
§audio_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: f32
§countdown_offset: i32
§skin_preference: String
§game_mode: GameMode
§letterbox_in_breaks: bool
§widescreen_storyboard: bool
§story_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: bool
§use_skin_sprites: bool
Trait Implementations§
Source§impl Debug for GeneralSection
impl Debug for GeneralSection
Auto Trait Implementations§
impl Freeze for GeneralSection
impl RefUnwindSafe for GeneralSection
impl Send for GeneralSection
impl Sync for GeneralSection
impl Unpin for GeneralSection
impl UnwindSafe for GeneralSection
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more