GeneralState

Type Alias GeneralState 

Source
pub type GeneralState = General;
Expand description

The parsing state for General in DecodeBeatmap.

Aliased Type§

pub struct GeneralState {
Show 14 fields pub audio_file: String, pub audio_lead_in: f64, pub preview_time: i32, pub default_sample_bank: SampleBank, pub default_sample_volume: i32, pub stack_leniency: f32, pub mode: GameMode, pub letterbox_in_breaks: bool, pub special_style: bool, pub widescreen_storyboard: bool, pub epilepsy_warning: bool, pub samples_match_playback_rate: bool, pub countdown: CountdownType, pub countdown_offset: i32,
}

Fields§

§audio_file: String§audio_lead_in: f64§preview_time: i32§default_sample_bank: SampleBank§default_sample_volume: i32§stack_leniency: f32§mode: GameMode§letterbox_in_breaks: bool§special_style: bool§widescreen_storyboard: bool§epilepsy_warning: bool§samples_match_playback_rate: bool§countdown: CountdownType§countdown_offset: i32

Trait Implementations§

Source§

impl DecodeState for GeneralState

Source§

fn create(_: i32) -> Self

Given the format version, create an instance. Read more