#[repr(transparent)]pub struct QarAppScaleSensitivityMode(pub c_int);Tuple Fields§
§0: c_intImplementations§
Source§impl QarAppScaleSensitivityMode
impl QarAppScaleSensitivityMode
Sourcepub const QAR_APP_SCALE_SENSITIVITY_CONSTANT: QarAppScaleSensitivityMode
pub const QAR_APP_SCALE_SENSITIVITY_CONSTANT: QarAppScaleSensitivityMode
Gesture output ignores app_scale. With precision = 1.0, 1 cm hand movement produces a 1 cm mapped gesture delta at every app_scale.
Sourcepub const QAR_APP_SCALE_SENSITIVITY_INVERSE_TO_APP_SCALE: QarAppScaleSensitivityMode
pub const QAR_APP_SCALE_SENSITIVITY_INVERSE_TO_APP_SCALE: QarAppScaleSensitivityMode
Gesture output is divided by app_scale. With precision = 1.0 and app_scale = 4.0, 1 cm hand movement produces a 0.25 cm mapped gesture delta. Since larger app_scale means the app renders bigger, this makes gestures slower as the rendered app gets bigger.
Sourcepub const QAR_APP_SCALE_SENSITIVITY_BASED_ON_APP_SCALE: QarAppScaleSensitivityMode
pub const QAR_APP_SCALE_SENSITIVITY_BASED_ON_APP_SCALE: QarAppScaleSensitivityMode
Gesture output is multiplied by app_scale. With precision = 1.0 and app_scale = 4.0, 1 cm hand movement produces a 4 cm mapped gesture delta. Since larger app_scale means the app renders bigger, this makes gestures faster as the rendered app gets bigger.
Trait Implementations§
Source§impl Clone for QarAppScaleSensitivityMode
impl Clone for QarAppScaleSensitivityMode
impl Copy for QarAppScaleSensitivityMode
Source§impl Debug for QarAppScaleSensitivityMode
impl Debug for QarAppScaleSensitivityMode
impl Eq for QarAppScaleSensitivityMode
Source§impl Hash for QarAppScaleSensitivityMode
impl Hash for QarAppScaleSensitivityMode
impl StructuralPartialEq for QarAppScaleSensitivityMode
Auto Trait Implementations§
impl Freeze for QarAppScaleSensitivityMode
impl RefUnwindSafe for QarAppScaleSensitivityMode
impl Send for QarAppScaleSensitivityMode
impl Sync for QarAppScaleSensitivityMode
impl Unpin for QarAppScaleSensitivityMode
impl UnsafeUnpin for QarAppScaleSensitivityMode
impl UnwindSafe for QarAppScaleSensitivityMode
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