#[repr(C, packed(1))]pub struct InterfaceDescriptor {
pub bLength: c_uchar,
pub bDescriptorType: c_uchar,
pub bInterfaceNumber: c_uchar,
pub bAlternateSetting: c_uchar,
pub bNumEndpoints: c_uchar,
pub bInterfaceClass: c_uchar,
pub bInterfaceSubClass: c_uchar,
pub bInterfaceProtocol: c_uchar,
pub iInterface: c_uchar,
}Expand description
USB Interface descriptor
Fields§
§bLength: c_uchar§bDescriptorType: c_uchar§bInterfaceNumber: c_uchar§bAlternateSetting: c_uchar§bNumEndpoints: c_uchar§bInterfaceClass: c_uchar§bInterfaceSubClass: c_uchar§bInterfaceProtocol: c_uchar§iInterface: c_ucharTrait Implementations§
Source§impl Clone for InterfaceDescriptor
impl Clone for InterfaceDescriptor
Source§impl Debug for InterfaceDescriptor
impl Debug for InterfaceDescriptor
impl Copy for InterfaceDescriptor
Auto Trait Implementations§
impl Freeze for InterfaceDescriptor
impl RefUnwindSafe for InterfaceDescriptor
impl Send for InterfaceDescriptor
impl Sync for InterfaceDescriptor
impl Unpin for InterfaceDescriptor
impl UnsafeUnpin for InterfaceDescriptor
impl UnwindSafe for InterfaceDescriptor
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