pub struct PlayerSettings {
pub colors: ColorSettings<Override<Color>>,
pub timing: TimingSettings<Override<f32>>,
pub objects: ObjectSettings<Override<Option<Box<str>>>, Override<[f32; 2]>, Override<f32>>,
pub layers: LayerSettings<Override<Option<usize>>, Override<f32>, Override<Option<usize>>>,
pub layout: LayoutSettings<Override<f32>>,
pub names: Names,
}Fields§
§colors: ColorSettings<Override<Color>>§timing: TimingSettings<Override<f32>>§objects: ObjectSettings<Override<Option<Box<str>>>, Override<[f32; 2]>, Override<f32>>§layers: LayerSettings<Override<Option<usize>>, Override<f32>, Override<Option<usize>>>§layout: LayoutSettings<Override<f32>>§names: NamesImplementations§
Source§impl PlayerSettings
impl PlayerSettings
pub fn common() -> Self
pub fn apply_setting( &mut self, context: &mut SettingsContext, key: &str, value: &str, )
pub fn extract_settings( &mut self, context: &mut SettingsContext, config_map: &mut IndexMap<Box<str>, Box<str>>, )
pub fn reset(&mut self)
Auto Trait Implementations§
impl Freeze for PlayerSettings
impl RefUnwindSafe for PlayerSettings
impl Send for PlayerSettings
impl Sync for PlayerSettings
impl Unpin for PlayerSettings
impl UnwindSafe for PlayerSettings
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