Enum usb::libusb::libusb_descriptor_type
[−]
[src]
#[repr(C)]pub enum libusb_descriptor_type { LIBUSB_DT_DEVICE, LIBUSB_DT_CONFIG, LIBUSB_DT_STRING, LIBUSB_DT_INTERFACE, LIBUSB_DT_ENDPOINT, LIBUSB_DT_BOS, LIBUSB_DT_DEVICE_CAPABILITY, LIBUSB_DT_HID, LIBUSB_DT_REPORT, LIBUSB_DT_PHYSICAL, LIBUSB_DT_HUB, LIBUSB_DT_SUPERSPEED_HUB, LIBUSB_DT_SS_ENDPOINT_COMPANION, }
Descriptor types as defined by the USB specification.
Variants
LIBUSB_DT_DEVICE
Device descriptor. See libusb_device_descriptor.
LIBUSB_DT_CONFIG
Configuration descriptor. See libusb_config_descriptor.
LIBUSB_DT_STRING
String descriptor
LIBUSB_DT_INTERFACE
Interface descriptor. See libusb_interface_descriptor.
LIBUSB_DT_ENDPOINT
Endpodescriptor: c_int. See libusb_endpoint_descriptor.
LIBUSB_DT_BOS
BOS descriptor
LIBUSB_DT_DEVICE_CAPABILITY
Device Capability descriptor
LIBUSB_DT_HID
HID descriptor
LIBUSB_DT_REPORT
HID report descriptor
LIBUSB_DT_PHYSICAL
Physical descriptor
LIBUSB_DT_HUB
Hub descriptor
LIBUSB_DT_SUPERSPEED_HUB
SuperSpeed Hub descriptor
LIBUSB_DT_SS_ENDPOINT_COMPANION
SuperSpeed EndpoCompanion: c_int descriptor
Trait Implementations
impl Copy for libusb_descriptor_type
[src]
impl Clone for libusb_descriptor_type
[src]
fn clone(&self) -> libusb_descriptor_type
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for libusb_descriptor_type
[src]
fn eq(&self, __arg_0: &libusb_descriptor_type) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.