pub struct AccessibilitySettings {Show 20 fields
pub sticky_keys: bool,
pub slow_keys: bool,
pub slow_keys_delay_ms: u32,
pub toggle_keys: bool,
pub filter_keys: bool,
pub filter_keys_repeat_delay_ms: u32,
pub mouse_keys: bool,
pub mouse_keys_speed: f32,
pub high_contrast_cursor: bool,
pub cursor_size_scale: f32,
pub single_button_mode: bool,
pub auto_sprint: bool,
pub aim_assist_strength: f32,
pub auto_aim: bool,
pub hold_to_toggle_aim: bool,
pub simplified_controls: bool,
pub button_remapping_enabled: bool,
pub hold_alternatives: HashMap<String, String>,
pub color_blind_mode: ColorBlindMode,
pub text_size_scale: f32,
}Fields§
§sticky_keys: bool§slow_keys: bool§slow_keys_delay_ms: u32§toggle_keys: bool§filter_keys: bool§filter_keys_repeat_delay_ms: u32§mouse_keys: bool§mouse_keys_speed: f32§high_contrast_cursor: bool§cursor_size_scale: f32§auto_sprint: bool§aim_assist_strength: f32§auto_aim: bool§hold_to_toggle_aim: bool§simplified_controls: bool§hold_alternatives: HashMap<String, String>§color_blind_mode: ColorBlindMode§text_size_scale: f32Trait Implementations§
Source§impl Clone for AccessibilitySettings
impl Clone for AccessibilitySettings
Source§impl Debug for AccessibilitySettings
impl Debug for AccessibilitySettings
Auto Trait Implementations§
impl Freeze for AccessibilitySettings
impl RefUnwindSafe for AccessibilitySettings
impl Send for AccessibilitySettings
impl Sync for AccessibilitySettings
impl Unpin for AccessibilitySettings
impl UnsafeUnpin for AccessibilitySettings
impl UnwindSafe for AccessibilitySettings
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.