Struct input_id
#[repr(C)]
pub struct input_id { pub bustype: __u16, pub vendor: __u16, pub product: __u16, pub version: __u16 }
Fields
bustype: __u16vendor: __u16product: __u16version: __u16
Trait Implementations
impl Clone for input_id
fn clone(&self) -> input_id
impl Copy for input_id
impl Debug for input_id
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for input_id
impl Hash for input_id
fn hash<__H: Hasher>(&self, state: &mut __H)
impl PartialEq for input_id
fn eq(&self, other: &input_id) -> bool
impl StructuralPartialEq for input_id
Auto Trait Implementations
impl Freeze for input_id
impl RefUnwindSafe for input_id
impl Send for input_id
impl Sync for input_id
impl Unpin for input_id
impl UnsafeUnpin for input_id
impl UnwindSafe for input_id
Blanket Implementations
impl<T> Any for input_id
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for input_id
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for input_id
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for input_id
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for input_id
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for input_id
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for input_id
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for input_id
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>