#[repr(C)]pub struct USB_INTERFACE_DESCRIPTOR {
pub bLength: UCHAR,
pub bDescriptorType: UCHAR,
pub bInterfaceNumber: UCHAR,
pub bAlternateSetting: UCHAR,
pub bNumEndpoints: UCHAR,
pub bInterfaceClass: UCHAR,
pub bInterfaceSubClass: UCHAR,
pub bInterfaceProtocol: UCHAR,
pub iInterface: UCHAR,
}
Fields§
§bLength: UCHAR
§bDescriptorType: UCHAR
§bInterfaceNumber: UCHAR
§bAlternateSetting: UCHAR
§bNumEndpoints: UCHAR
§bInterfaceClass: UCHAR
§bInterfaceSubClass: UCHAR
§bInterfaceProtocol: UCHAR
§iInterface: UCHAR
Trait Implementations§
Source§impl Clone for USB_INTERFACE_DESCRIPTOR
impl Clone for USB_INTERFACE_DESCRIPTOR
Source§fn clone(&self) -> USB_INTERFACE_DESCRIPTOR
fn clone(&self) -> USB_INTERFACE_DESCRIPTOR
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for USB_INTERFACE_DESCRIPTOR
impl Default for USB_INTERFACE_DESCRIPTOR
Source§fn default() -> USB_INTERFACE_DESCRIPTOR
fn default() -> USB_INTERFACE_DESCRIPTOR
Returns the “default value” for a type. Read more
impl Copy for USB_INTERFACE_DESCRIPTOR
Auto Trait Implementations§
impl Freeze for USB_INTERFACE_DESCRIPTOR
impl RefUnwindSafe for USB_INTERFACE_DESCRIPTOR
impl Send for USB_INTERFACE_DESCRIPTOR
impl Sync for USB_INTERFACE_DESCRIPTOR
impl Unpin for USB_INTERFACE_DESCRIPTOR
impl UnwindSafe for USB_INTERFACE_DESCRIPTOR
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more