Struct TOUCHPAD_PARAMETERS

Source
#[repr(C)]
pub struct TOUCHPAD_PARAMETERS { pub versionNumber: UINT, pub maxSupportedContacts: UINT, pub legacyTouchpadFeatures: LEGACY_TOUCHPAD_FEATURES, pub _bitfield_align_1: [u32; 0], pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8]>, pub sensitivityLevel: TOUCHPAD_SENSITIVITY_LEVEL, pub cursorSpeed: UINT, pub feedbackIntensity: UINT, pub clickForceSensitivity: UINT, pub rightClickZoneWidth: UINT, pub rightClickZoneHeight: UINT, }

Fields§

§versionNumber: UINT§maxSupportedContacts: UINT§legacyTouchpadFeatures: LEGACY_TOUCHPAD_FEATURES§_bitfield_align_1: [u32; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 8]>§sensitivityLevel: TOUCHPAD_SENSITIVITY_LEVEL§cursorSpeed: UINT§feedbackIntensity: UINT§clickForceSensitivity: UINT§rightClickZoneWidth: UINT§rightClickZoneHeight: UINT

Implementations§

Source§

impl TOUCHPAD_PARAMETERS

Source

pub fn touchpadPresent(&self) -> BOOL

Source

pub fn set_touchpadPresent(&mut self, val: BOOL)

Source

pub unsafe fn touchpadPresent_raw(this: *const Self) -> BOOL

Source

pub unsafe fn set_touchpadPresent_raw(this: *mut Self, val: BOOL)

Source

pub fn legacyTouchpadPresent(&self) -> BOOL

Source

pub fn set_legacyTouchpadPresent(&mut self, val: BOOL)

Source

pub unsafe fn legacyTouchpadPresent_raw(this: *const Self) -> BOOL

Source

pub unsafe fn set_legacyTouchpadPresent_raw(this: *mut Self, val: BOOL)

Source

pub fn externalMousePresent(&self) -> BOOL

Source

pub fn set_externalMousePresent(&mut self, val: BOOL)

Source

pub unsafe fn externalMousePresent_raw(this: *const Self) -> BOOL

Source

pub unsafe fn set_externalMousePresent_raw(this: *mut Self, val: BOOL)

Source

pub fn touchpadEnabled(&self) -> BOOL

Source

pub fn set_touchpadEnabled(&mut self, val: BOOL)

Source

pub unsafe fn touchpadEnabled_raw(this: *const Self) -> BOOL

Source

pub unsafe fn set_touchpadEnabled_raw(this: *mut Self, val: BOOL)

Source

pub fn touchpadActive(&self) -> BOOL

Source

pub fn set_touchpadActive(&mut self, val: BOOL)

Source

pub unsafe fn touchpadActive_raw(this: *const Self) -> BOOL

Source

pub unsafe fn set_touchpadActive_raw(this: *mut Self, val: BOOL)

Source

pub fn feedbackSupported(&self) -> BOOL

Source

pub fn set_feedbackSupported(&mut self, val: BOOL)

Source

pub unsafe fn feedbackSupported_raw(this: *const Self) -> BOOL

Source

pub unsafe fn set_feedbackSupported_raw(this: *mut Self, val: BOOL)

Source

pub fn clickForceSupported(&self) -> BOOL

Source

pub fn set_clickForceSupported(&mut self, val: BOOL)

Source

pub unsafe fn clickForceSupported_raw(this: *const Self) -> BOOL

Source

pub unsafe fn set_clickForceSupported_raw(this: *mut Self, val: BOOL)

Source

pub fn Reserved1(&self) -> BOOL

Source

pub fn set_Reserved1(&mut self, val: BOOL)

Source

pub unsafe fn Reserved1_raw(this: *const Self) -> BOOL

Source

pub unsafe fn set_Reserved1_raw(this: *mut Self, val: BOOL)

Source

pub fn allowActiveWhenMousePresent(&self) -> BOOL

Source

pub fn set_allowActiveWhenMousePresent(&mut self, val: BOOL)

Source

pub unsafe fn allowActiveWhenMousePresent_raw(this: *const Self) -> BOOL

Source

pub unsafe fn set_allowActiveWhenMousePresent_raw(this: *mut Self, val: BOOL)

Source

pub fn feedbackEnabled(&self) -> BOOL

Source

pub fn set_feedbackEnabled(&mut self, val: BOOL)

Source

pub unsafe fn feedbackEnabled_raw(this: *const Self) -> BOOL

Source

pub unsafe fn set_feedbackEnabled_raw(this: *mut Self, val: BOOL)

Source

pub fn tapEnabled(&self) -> BOOL

Source

pub fn set_tapEnabled(&mut self, val: BOOL)

Source

pub unsafe fn tapEnabled_raw(this: *const Self) -> BOOL

Source

pub unsafe fn set_tapEnabled_raw(this: *mut Self, val: BOOL)

Source

pub fn tapAndDragEnabled(&self) -> BOOL

Source

pub fn set_tapAndDragEnabled(&mut self, val: BOOL)

Source

pub unsafe fn tapAndDragEnabled_raw(this: *const Self) -> BOOL

Source

pub unsafe fn set_tapAndDragEnabled_raw(this: *mut Self, val: BOOL)

Source

pub fn twoFingerTapEnabled(&self) -> BOOL

Source

pub fn set_twoFingerTapEnabled(&mut self, val: BOOL)

Source

pub unsafe fn twoFingerTapEnabled_raw(this: *const Self) -> BOOL

Source

pub unsafe fn set_twoFingerTapEnabled_raw(this: *mut Self, val: BOOL)

Source

pub fn rightClickZoneEnabled(&self) -> BOOL

Source

pub fn set_rightClickZoneEnabled(&mut self, val: BOOL)

Source

pub unsafe fn rightClickZoneEnabled_raw(this: *const Self) -> BOOL

Source

pub unsafe fn set_rightClickZoneEnabled_raw(this: *mut Self, val: BOOL)

Source

pub fn mouseAccelSettingHonored(&self) -> BOOL

Source

pub fn set_mouseAccelSettingHonored(&mut self, val: BOOL)

Source

pub unsafe fn mouseAccelSettingHonored_raw(this: *const Self) -> BOOL

Source

pub unsafe fn set_mouseAccelSettingHonored_raw(this: *mut Self, val: BOOL)

Source

pub fn panEnabled(&self) -> BOOL

Source

pub fn set_panEnabled(&mut self, val: BOOL)

Source

pub unsafe fn panEnabled_raw(this: *const Self) -> BOOL

Source

pub unsafe fn set_panEnabled_raw(this: *mut Self, val: BOOL)

Source

pub fn zoomEnabled(&self) -> BOOL

Source

pub fn set_zoomEnabled(&mut self, val: BOOL)

Source

pub unsafe fn zoomEnabled_raw(this: *const Self) -> BOOL

Source

pub unsafe fn set_zoomEnabled_raw(this: *mut Self, val: BOOL)

Source

pub fn scrollDirectionReversed(&self) -> BOOL

Source

pub fn set_scrollDirectionReversed(&mut self, val: BOOL)

Source

pub unsafe fn scrollDirectionReversed_raw(this: *const Self) -> BOOL

Source

pub unsafe fn set_scrollDirectionReversed_raw(this: *mut Self, val: BOOL)

Source

pub fn Reserved2(&self) -> BOOL

Source

pub fn set_Reserved2(&mut self, val: BOOL)

Source

pub unsafe fn Reserved2_raw(this: *const Self) -> BOOL

Source

pub unsafe fn set_Reserved2_raw(this: *mut Self, val: BOOL)

Source

pub fn new_bitfield_1( touchpadPresent: BOOL, legacyTouchpadPresent: BOOL, externalMousePresent: BOOL, touchpadEnabled: BOOL, touchpadActive: BOOL, feedbackSupported: BOOL, clickForceSupported: BOOL, Reserved1: BOOL, allowActiveWhenMousePresent: BOOL, feedbackEnabled: BOOL, tapEnabled: BOOL, tapAndDragEnabled: BOOL, twoFingerTapEnabled: BOOL, rightClickZoneEnabled: BOOL, mouseAccelSettingHonored: BOOL, panEnabled: BOOL, zoomEnabled: BOOL, scrollDirectionReversed: BOOL, Reserved2: BOOL, ) -> __BindgenBitfieldUnit<[u8; 8]>

Trait Implementations§

Source§

impl Clone for TOUCHPAD_PARAMETERS

Source§

fn clone(&self) -> TOUCHPAD_PARAMETERS

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for TOUCHPAD_PARAMETERS

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Ord for TOUCHPAD_PARAMETERS

Source§

fn cmp(&self, other: &TOUCHPAD_PARAMETERS) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl PartialEq for TOUCHPAD_PARAMETERS

Source§

fn eq(&self, other: &TOUCHPAD_PARAMETERS) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialOrd for TOUCHPAD_PARAMETERS

Source§

fn partial_cmp(&self, other: &TOUCHPAD_PARAMETERS) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl Copy for TOUCHPAD_PARAMETERS

Source§

impl Eq for TOUCHPAD_PARAMETERS

Source§

impl StructuralPartialEq for TOUCHPAD_PARAMETERS

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.