#[repr(transparent)]pub struct tIOUSBDescriptorType(pub c_uint);Available on crate features
AppleUSBDefinitions and usb only.Expand description
Descriptor types defined by USB 2.0 Table 9-5 and USB 3.0 Table 9-6
See also Apple’s documentation
Tuple Fields§
§0: c_uintImplementations§
Source§impl tIOUSBDescriptorType
impl tIOUSBDescriptorType
pub const IOUSBDescriptorTypeDevice: Self
pub const IOUSBDescriptorTypeConfiguration: Self
pub const IOUSBDescriptorTypeString: Self
pub const IOUSBDescriptorTypeInterface: Self
pub const IOUSBDescriptorTypeEndpoint: Self
pub const IOUSBDescriptorTypeDeviceQualifier: Self
pub const IOUSBDescriptorTypeOtherSpeedConfiguration: Self
pub const IOUSBDescriptorTypeInterfacePower: Self
pub const IOUSBDescriptorTypeOTG: Self
pub const IOUSBDescriptorTypeDebug: Self
pub const IOUSBDescriptorTypeInterfaceAssociation: Self
pub const IOUSBDescriptorTypeBOS: Self
pub const IOUSBDescriptorTypeDeviceCapability: Self
pub const IOUSBDecriptorTypeHID: Self
pub const IOUSBDecriptorTypeReport: Self
pub const IOUSBDescriptorTypePhysical: Self
pub const IOUSBDescriptorTypeHub: Self
pub const IOUSBDescriptorTypeSuperSpeedHub: Self
pub const IOUSBDescriptorTypeSuperSpeedUSBEndpointCompanion: Self
pub const IOUSBDescriptorTypeSuperSpeedPlusIsochronousEndpointCompanion: Self
Trait Implementations§
Source§impl Clone for tIOUSBDescriptorType
impl Clone for tIOUSBDescriptorType
Source§fn clone(&self) -> tIOUSBDescriptorType
fn clone(&self) -> tIOUSBDescriptorType
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 tIOUSBDescriptorType
impl Debug for tIOUSBDescriptorType
Source§impl Encode for tIOUSBDescriptorType
Available on crate feature objc2 only.
impl Encode for tIOUSBDescriptorType
Available on crate feature
objc2 only.Source§impl Hash for tIOUSBDescriptorType
impl Hash for tIOUSBDescriptorType
Source§impl Ord for tIOUSBDescriptorType
impl Ord for tIOUSBDescriptorType
Source§fn cmp(&self, other: &tIOUSBDescriptorType) -> Ordering
fn cmp(&self, other: &tIOUSBDescriptorType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for tIOUSBDescriptorType
impl PartialEq for tIOUSBDescriptorType
Source§impl PartialOrd for tIOUSBDescriptorType
impl PartialOrd for tIOUSBDescriptorType
Source§impl RefEncode for tIOUSBDescriptorType
Available on crate feature objc2 only.
impl RefEncode for tIOUSBDescriptorType
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 tIOUSBDescriptorType
impl Eq for tIOUSBDescriptorType
impl StructuralPartialEq for tIOUSBDescriptorType
Auto Trait Implementations§
impl Freeze for tIOUSBDescriptorType
impl RefUnwindSafe for tIOUSBDescriptorType
impl Send for tIOUSBDescriptorType
impl Sync for tIOUSBDescriptorType
impl Unpin for tIOUSBDescriptorType
impl UnwindSafe for tIOUSBDescriptorType
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.