[][src]Enum usbd_hid_descriptors::ItemType

#[repr(u8)]
pub enum ItemType {
    Main,
    Global,
    Local,
}

ItemType describes types of items as described in section 6.2.2.7 'Report Descriptor' of the spec, version 1.11.

Variants

Main
Global
Local

Trait Implementations

impl Clone for ItemType[src]

impl Copy for ItemType[src]

impl Debug for ItemType[src]

impl Default for ItemType[src]

impl Eq for ItemType[src]

impl Into<u8> for ItemType[src]

impl PartialEq<ItemType> for ItemType[src]

impl StructuralEq for ItemType[src]

impl StructuralPartialEq for ItemType[src]

Auto Trait Implementations

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> 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.