#[repr(C, packed(1))]pub struct IOUSBDeviceQualifierDescriptor {
pub bLength: u8,
pub bDescriptorType: u8,
pub bcdUSB: u16,
pub bDeviceClass: u8,
pub bDeviceSubClass: u8,
pub bDeviceProtocol: u8,
pub bMaxPacketSize0: u8,
pub bNumConfigurations: u8,
pub bReserved: u8,
}Available on crate features
AppleUSBDefinitions and usb only.Expand description
USB Device Qualifier Descriptor. See the USB Specification at http://www.usb.org . USB 2.0 9.6.2: Device Qualifier
See also Apple’s documentation
Fields§
§bLength: u8§bDescriptorType: u8§bcdUSB: u16§bDeviceClass: u8§bDeviceSubClass: u8§bDeviceProtocol: u8§bMaxPacketSize0: u8§bNumConfigurations: u8§bReserved: u8Trait Implementations§
Source§impl Clone for IOUSBDeviceQualifierDescriptor
impl Clone for IOUSBDeviceQualifierDescriptor
Source§fn clone(&self) -> IOUSBDeviceQualifierDescriptor
fn clone(&self) -> IOUSBDeviceQualifierDescriptor
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 Encode for IOUSBDeviceQualifierDescriptor
Available on crate feature objc2 only.
impl Encode for IOUSBDeviceQualifierDescriptor
Available on crate feature
objc2 only.Source§impl PartialEq for IOUSBDeviceQualifierDescriptor
impl PartialEq for IOUSBDeviceQualifierDescriptor
Source§fn eq(&self, other: &IOUSBDeviceQualifierDescriptor) -> bool
fn eq(&self, other: &IOUSBDeviceQualifierDescriptor) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl RefEncode for IOUSBDeviceQualifierDescriptor
Available on crate feature objc2 only.
impl RefEncode for IOUSBDeviceQualifierDescriptor
Available on crate feature
objc2 only.Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for IOUSBDeviceQualifierDescriptor
impl StructuralPartialEq for IOUSBDeviceQualifierDescriptor
Auto Trait Implementations§
impl Freeze for IOUSBDeviceQualifierDescriptor
impl RefUnwindSafe for IOUSBDeviceQualifierDescriptor
impl Send for IOUSBDeviceQualifierDescriptor
impl Sync for IOUSBDeviceQualifierDescriptor
impl Unpin for IOUSBDeviceQualifierDescriptor
impl UnwindSafe for IOUSBDeviceQualifierDescriptor
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.