[][src]Struct usb_host::descriptor::InterfaceDescriptor

#[repr(C, packed)]
pub struct InterfaceDescriptor {
    pub b_length: u8,
    pub b_descriptor_type: DescriptorType,
    pub b_interface_number: u8,
    pub b_alternate_setting: u8,
    pub b_num_endpoints: u8,
    pub b_interface_class: u8,
    pub b_interface_sub_class: u8,
    pub b_interface_protocol: u8,
    pub i_interface: u8,
}

Fields

b_length: u8b_descriptor_type: DescriptorTypeb_interface_number: u8b_alternate_setting: u8b_num_endpoints: u8b_interface_class: u8b_interface_sub_class: u8b_interface_protocol: u8i_interface: u8

Trait Implementations

impl Debug for InterfaceDescriptor[src]

impl PartialEq<InterfaceDescriptor> for InterfaceDescriptor[src]

impl Copy for InterfaceDescriptor[src]

impl Clone for InterfaceDescriptor[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

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> Into<U> for T where
    U: From<T>, 
[src]

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<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]