Struct input_linux::InputId [−][src]
#[repr(C)]pub struct InputId { pub bustype: u16, pub vendor: u16, pub product: u16, pub version: u16, }
Expand description
Identifies an input device.
Fields
bustype: u16
Identifies the bus where the input device is found, see sys::BUS_*
vendor: u16
The vendor ID of the input device.
product: u16
The product ID of the input device.
version: u16
The version of the input device.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for InputId
impl UnwindSafe for InputId
Blanket Implementations
Mutably borrows from an owned value. Read more