pub struct General<'a> {Show 20 fields
pub audio_filename: Cow<'a, str>,
pub audio_lead_in: i32,
pub audio_hash: Cow<'a, str>,
pub preview_time: i32,
pub countdown: Countdown,
pub sample_set: SampleSet,
pub stack_leniency: f32,
pub mode: GameMode,
pub letterbox_in_breaks: bool,
pub story_fire_in_front: bool,
pub use_skin_sprites: bool,
pub always_show_playfield: bool,
pub custom_samples: bool,
pub overlay_position: OverlayPosition,
pub skin_preference: Cow<'a, str>,
pub epilepsy_warning: bool,
pub countdown_offset: i32,
pub special_style: bool,
pub widescreen_storyboard: bool,
pub samples_match_playback_rate: bool,
}Expand description
General section
Fields§
§audio_filename: Cow<'a, str>Audio file name
audio_lead_in: i32Milliseconds of silence before the audio starts playing
audio_hash: Cow<'a, str>md5 hash of the audio file. Deprecated and never serialized
preview_time: i32Preview time
countdown: CountdownCountdown type
sample_set: SampleSet§stack_leniency: f32§mode: GameMode§letterbox_in_breaks: bool§story_fire_in_front: bool§use_skin_sprites: bool§always_show_playfield: bool§custom_samples: bool§overlay_position: OverlayPosition§skin_preference: Cow<'a, str>§epilepsy_warning: bool§countdown_offset: i32§special_style: bool§widescreen_storyboard: bool§samples_match_playback_rate: boolTrait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for General<'a>
impl<'a> RefUnwindSafe for General<'a>
impl<'a> Send for General<'a>
impl<'a> Sync for General<'a>
impl<'a> Unpin for General<'a>
impl<'a> UnwindSafe for General<'a>
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