[][src]Struct input_linux::InputId

#[repr(C)]pub struct InputId {
    pub bustype: u16,
    pub vendor: u16,
    pub product: u16,
    pub version: u16,
}

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

impl Clone for InputId[src]

impl Copy for InputId[src]

impl Debug for InputId[src]

impl Default for InputId[src]

impl Eq for InputId[src]

impl<'a> From<&'a InputId> for &'a input_id[src]

impl<'a> From<&'a input_id> for &'a InputId[src]

impl From<InputId> for input_id[src]

impl From<input_id> for InputId[src]

impl Hash for InputId[src]

impl Ord for InputId[src]

impl PartialEq<InputId> for InputId[src]

impl PartialOrd<InputId> for InputId[src]

impl StructuralEq for InputId[src]

impl StructuralPartialEq for InputId[src]

Auto Trait Implementations

impl RefUnwindSafe for InputId

impl Send for InputId

impl Sync for InputId

impl Unpin for InputId

impl UnwindSafe for InputId

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.