pub struct BuiltInPointingDevice {
pub handle: u16,
pub type_: Type,
pub interface: Interface,
pub number_of_buttons: u8,
}Expand description
Main struct for Built-in Pointing Device (Type 21)
Fields§
§handle: u16Specifies the structure’s handle
type_: Type§interface: InterfaceNumber of buttons on the pointing device.
If the device has three buttons, the field value is 03h.
Trait Implementations§
Source§impl Clone for BuiltInPointingDevice
impl Clone for BuiltInPointingDevice
Source§fn clone(&self) -> BuiltInPointingDevice
fn clone(&self) -> BuiltInPointingDevice
Returns a duplicate 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 BuiltInPointingDevice
impl Debug for BuiltInPointingDevice
Source§impl Hash for BuiltInPointingDevice
impl Hash for BuiltInPointingDevice
Source§impl PartialEq for BuiltInPointingDevice
impl PartialEq for BuiltInPointingDevice
impl Copy for BuiltInPointingDevice
impl Eq for BuiltInPointingDevice
impl StructuralPartialEq for BuiltInPointingDevice
Auto Trait Implementations§
impl Freeze for BuiltInPointingDevice
impl RefUnwindSafe for BuiltInPointingDevice
impl Send for BuiltInPointingDevice
impl Sync for BuiltInPointingDevice
impl Unpin for BuiltInPointingDevice
impl UnsafeUnpin for BuiltInPointingDevice
impl UnwindSafe for BuiltInPointingDevice
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