#[repr(u8)]pub enum HidItemType {
Main = 0,
Global = 1,
Local = 2,
Reserved = 3,
}Expand description
Report descriptor item types
Variants§
Main = 0
Main items: Input, Output, Feature, Collection, End Collection
Global = 1
Global items: Usage Page, Logical Min/Max, Report Size/Count/ID
Local = 2
Local items: Usage, Usage Min/Max, Designator, String
Reserved = 3
Reserved
Trait Implementations§
Source§impl Clone for HidItemType
impl Clone for HidItemType
Source§fn clone(&self) -> HidItemType
fn clone(&self) -> HidItemType
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 HidItemType
impl Debug for HidItemType
Source§impl PartialEq for HidItemType
impl PartialEq for HidItemType
impl Copy for HidItemType
impl Eq for HidItemType
impl StructuralPartialEq for HidItemType
Auto Trait Implementations§
impl Freeze for HidItemType
impl RefUnwindSafe for HidItemType
impl Send for HidItemType
impl Sync for HidItemType
impl Unpin for HidItemType
impl UnwindSafe for HidItemType
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)