pub enum HidDeviceType {
Keyboard,
Mouse,
Gamepad,
Generic,
}Expand description
Classification of HID device types
Variants§
Keyboard
Boot-protocol keyboard
Mouse
Boot-protocol mouse
Gamepad
Gamepad / joystick
Generic
Generic HID device (parsed from report descriptor)
Trait Implementations§
Source§impl Clone for HidDeviceType
impl Clone for HidDeviceType
Source§fn clone(&self) -> HidDeviceType
fn clone(&self) -> HidDeviceType
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HidDeviceType
impl Debug for HidDeviceType
Source§impl PartialEq for HidDeviceType
impl PartialEq for HidDeviceType
impl Copy for HidDeviceType
impl Eq for HidDeviceType
impl StructuralPartialEq for HidDeviceType
Auto Trait Implementations§
impl Freeze for HidDeviceType
impl RefUnwindSafe for HidDeviceType
impl Send for HidDeviceType
impl Sync for HidDeviceType
impl Unpin for HidDeviceType
impl UnwindSafe for HidDeviceType
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)