#[repr(C, packed(1))]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,
}
Fields§
§bLength: __u8
§bDescriptorType: __u8
§bInterfaceNumber: __u8
§bAlternateSetting: __u8
§bNumEndpoints: __u8
§bInterfaceClass: __u8
§bInterfaceSubClass: __u8
§bInterfaceProtocol: __u8
§iInterface: __u8
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 copy 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 Debug for usb_interface_descriptor
impl Debug for usb_interface_descriptor
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