#[repr(C)]pub struct InputId {
pub bustype: u16,
pub vendor: u16,
pub product: u16,
pub version: u16,
}Expand description
Miroir #[repr(C)] de struct input_id (noms kernel conservés).
Fields§
§bustype: u16Type de bus (BUS_USB, BUS_BLUETOOTH…).
vendor: u16Identifiant constructeur.
product: u16Identifiant produit.
version: u16Version.
Trait Implementations§
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 UnsafeUnpin 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