[][src]Struct libusb_native::hotplug::libusb_device_descriptor

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

Fields

bLength: uint8_tbDescriptorType: uint8_tbcdUSB: uint16_tbDeviceClass: uint8_tbDeviceSubClass: uint8_tbDeviceProtocol: uint8_tbMaxPacketSize0: uint8_tidVendor: uint16_tidProduct: uint16_tbcdDevice: uint16_tiManufacturer: uint8_tiProduct: uint8_tiSerialNumber: uint8_tbNumConfigurations: uint8_t

Trait Implementations

impl Clone for libusb_device_descriptor[src]

impl Copy for libusb_device_descriptor[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.