#[repr(C, packed(1))]pub struct usb_device_descriptor_t {Show 14 fields
pub bLength: uByte,
pub bDescriptorType: uByte,
pub bcdUSB: uWord,
pub bDeviceClass: uByte,
pub bDeviceSubClass: uByte,
pub bDeviceProtocol: uByte,
pub bMaxPacketSize: uByte,
pub idVendor: uWord,
pub idProduct: uWord,
pub bcdDevice: uWord,
pub iManufacturer: uByte,
pub iProduct: uByte,
pub iSerialNumber: uByte,
pub bNumConfigurations: uByte,
}Fields§
§bLength: uByte§bDescriptorType: uByte§bcdUSB: uWord§bDeviceClass: uByte§bDeviceSubClass: uByte§bDeviceProtocol: uByte§bMaxPacketSize: uByte§idVendor: uWord§idProduct: uWord§bcdDevice: uWord§iManufacturer: uByte§iProduct: uByte§iSerialNumber: uByte§bNumConfigurations: uByteTrait Implementations§
Source§impl Clone for usb_device_descriptor_t
impl Clone for usb_device_descriptor_t
Source§fn clone(&self) -> usb_device_descriptor_t
fn clone(&self) -> usb_device_descriptor_t
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_device_descriptor_t
impl Debug for usb_device_descriptor_t
impl Copy for usb_device_descriptor_t
Auto Trait Implementations§
impl Freeze for usb_device_descriptor_t
impl RefUnwindSafe for usb_device_descriptor_t
impl Send for usb_device_descriptor_t
impl Sync for usb_device_descriptor_t
impl Unpin for usb_device_descriptor_t
impl UnwindSafe for usb_device_descriptor_t
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