Struct hid_io_core::api::UhidInfo[][src]

pub struct UhidInfo {
    pub name: String,
    pub phys: String,
    pub uniq: String,
    pub bus: u16,
    pub vendor: u32,
    pub product: u32,
    pub version: u32,
    pub country: u32,
}

Uhid Information This is only used on Linux

Fields

name: Stringphys: Stringuniq: Stringbus: u16vendor: u32product: u32version: u32country: u32

Implementations

impl UhidInfo[src]

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

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

pub fn new(params: CreateParams) -> UhidInfo[src]

Trait Implementations

impl Clone for UhidInfo[src]

impl Debug for UhidInfo[src]

impl Default for UhidInfo[src]

Auto Trait Implementations

impl RefUnwindSafe for UhidInfo

impl Send for UhidInfo

impl Sync for UhidInfo

impl Unpin for UhidInfo

impl UnwindSafe for UhidInfo

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]