Struct windows_sys::Win32::Devices::Usb::USB_INTERFACE_DESCRIPTOR
[−]#[repr(C)]pub struct USB_INTERFACE_DESCRIPTOR {
pub bLength: u8,
pub bDescriptorType: u8,
pub bInterfaceNumber: u8,
pub bAlternateSetting: u8,
pub bNumEndpoints: u8,
pub bInterfaceClass: u8,
pub bInterfaceSubClass: u8,
pub bInterfaceProtocol: u8,
pub iInterface: u8,
}
Expand description
Required features: ‘Win32_Devices_Usb’
Fields
bLength: u8
bDescriptorType: u8
bInterfaceNumber: u8
bAlternateSetting: u8
bNumEndpoints: u8
bInterfaceClass: u8
bInterfaceSubClass: u8
bInterfaceProtocol: u8
iInterface: u8
Trait Implementations
impl Clone for USB_INTERFACE_DESCRIPTOR
impl Clone for USB_INTERFACE_DESCRIPTOR
impl Copy for USB_INTERFACE_DESCRIPTOR
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more