1 2 3 4 5 6 7 8 9 10 11 12
#[repr(C)] #[derive(Debug, Clone, Copy, Eq, PartialEq, Ord, PartialOrd, Hash)] pub struct InputDeviceId { /// The bustype identifier. pub bus_type: u16, /// The vendor identifier. pub vendor: u16, /// The product identifier. pub product: u16, /// The version identifier. pub version: u16, }