#[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,
pub endpoint: *mut usb_endpoint_descriptor,
pub extra: *mut c_uchar,
pub extralen: c_int,
}Fields§
§bLength: u8§bDescriptorType: u8§bInterfaceNumber: u8§bAlternateSetting: u8§bNumEndpoints: u8§bInterfaceClass: u8§bInterfaceSubClass: u8§bInterfaceProtocol: u8§iInterface: u8§endpoint: *mut usb_endpoint_descriptor§extra: *mut c_uchar§extralen: c_intTrait 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 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