pub struct SensitivityProfile {Show 17 fields
pub name: String,
pub mouse_x: f32,
pub mouse_y: f32,
pub right_stick_x: f32,
pub right_stick_y: f32,
pub aim_mouse_x: f32,
pub aim_mouse_y: f32,
pub aim_stick_x: f32,
pub aim_stick_y: f32,
pub invert_y_mouse: bool,
pub invert_y_stick: bool,
pub invert_x_stick: bool,
pub ads_sensitivity_multiplier: f32,
pub acceleration: f32,
pub input_lag_compensation_ms: f32,
pub mouse_smoothing: f32,
pub raw_input: bool,
}Fields§
§name: String§mouse_x: f32§mouse_y: f32§right_stick_x: f32§right_stick_y: f32§aim_mouse_x: f32§aim_mouse_y: f32§aim_stick_x: f32§aim_stick_y: f32§invert_y_mouse: bool§invert_y_stick: bool§invert_x_stick: bool§ads_sensitivity_multiplier: f32§acceleration: f32§input_lag_compensation_ms: f32§mouse_smoothing: f32§raw_input: boolImplementations§
Trait Implementations§
Source§impl Clone for SensitivityProfile
impl Clone for SensitivityProfile
Source§impl Debug for SensitivityProfile
impl Debug for SensitivityProfile
Auto Trait Implementations§
impl Freeze for SensitivityProfile
impl RefUnwindSafe for SensitivityProfile
impl Send for SensitivityProfile
impl Sync for SensitivityProfile
impl Unpin for SensitivityProfile
impl UnsafeUnpin for SensitivityProfile
impl UnwindSafe for SensitivityProfile
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.