pub struct TouchpadDeviceDescriptor {
pub device_id: u32,
pub contacts: Vec<ContactDeviceDescriptor>,
}
Fields§
§device_id: u32
The id of the connected touchpad input device.
contacts: Vec<ContactDeviceDescriptor>
The descriptors for the possible contacts associated with the device.
Trait Implementations§
source§impl Clone for TouchpadDeviceDescriptor
impl Clone for TouchpadDeviceDescriptor
source§fn clone(&self) -> TouchpadDeviceDescriptor
fn clone(&self) -> TouchpadDeviceDescriptor
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TouchpadDeviceDescriptor
impl Debug for TouchpadDeviceDescriptor
source§impl PartialEq for TouchpadDeviceDescriptor
impl PartialEq for TouchpadDeviceDescriptor
source§fn eq(&self, other: &TouchpadDeviceDescriptor) -> bool
fn eq(&self, other: &TouchpadDeviceDescriptor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for TouchpadDeviceDescriptor
impl StructuralPartialEq for TouchpadDeviceDescriptor
Auto Trait Implementations§
impl Freeze for TouchpadDeviceDescriptor
impl RefUnwindSafe for TouchpadDeviceDescriptor
impl Send for TouchpadDeviceDescriptor
impl Sync for TouchpadDeviceDescriptor
impl Unpin for TouchpadDeviceDescriptor
impl UnwindSafe for TouchpadDeviceDescriptor
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