#[repr(C)]
pub struct libusb_device_descriptor {
Show 14 fields pub bLength: u8, pub bDescriptorType: u8, pub bcdUSB: u16, pub bDeviceClass: u8, pub bDeviceSubClass: u8, pub bDeviceProtocol: u8, pub bMaxPacketSize0: u8, pub idVendor: u16, pub idProduct: u16, pub bcdDevice: u16, pub iManufacturer: u8, pub iProduct: u8, pub iSerialNumber: u8, pub bNumConfigurations: u8,
}

Fields

bLength: u8bDescriptorType: u8bcdUSB: u16bDeviceClass: u8bDeviceSubClass: u8bDeviceProtocol: u8bMaxPacketSize0: u8idVendor: u16idProduct: u16bcdDevice: u16iManufacturer: u8iProduct: u8iSerialNumber: u8bNumConfigurations: u8

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.