Struct hid_io_core::api::EvdevInfo[][src]

pub struct EvdevInfo {
    pub name: String,
    pub phys: String,
    pub uniq: String,
    pub product_id: u16,
    pub vendor_id: u16,
    pub bustype: u16,
    pub version: u16,
    pub driver_version: i32,
}

Evdev Information This is only used on Linux

Fields

name: Stringphys: Stringuniq: Stringproduct_id: u16vendor_id: u16bustype: u16version: u16driver_version: i32

Implementations

impl EvdevInfo[src]

pub fn key(&mut self) -> String[src]

Generate a unique string based off of evdev information (excluding path/physical location)

pub fn new(device: Device) -> EvdevInfo[src]

Trait Implementations

impl Clone for EvdevInfo[src]

impl Debug for EvdevInfo[src]

impl Default for EvdevInfo[src]

Auto Trait Implementations

impl RefUnwindSafe for EvdevInfo

impl Send for EvdevInfo

impl Sync for EvdevInfo

impl Unpin for EvdevInfo

impl UnwindSafe for EvdevInfo

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> Same<T> for T[src]

type Output = T

Should always be Self

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]