#[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§
Source§impl<'de> Deserialize<'de> for InputId
impl<'de> Deserialize<'de> for InputId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for InputId
impl Ord for InputId
Source§impl PartialOrd for InputId
impl PartialOrd for InputId
impl Copy for InputId
impl Eq for InputId
impl StructuralPartialEq for InputId
Auto Trait Implementations§
impl Freeze for InputId
impl RefUnwindSafe for InputId
impl Send for InputId
impl Sync for InputId
impl Unpin for InputId
impl UnwindSafe for InputId
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