#[repr(transparent)]pub struct tIOUSBDescriptorType(pub c_uint);Available on crate feature
AppleUSBDefinitions 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
Available on crate feature
usb only.pub const IOUSBDescriptorTypeConfiguration: Self
Available on crate feature
usb only.pub const IOUSBDescriptorTypeString: Self
Available on crate feature
usb only.pub const IOUSBDescriptorTypeInterface: Self
Available on crate feature
usb only.pub const IOUSBDescriptorTypeEndpoint: Self
Available on crate feature
usb only.pub const IOUSBDescriptorTypeDeviceQualifier: Self
Available on crate feature
usb only.pub const IOUSBDescriptorTypeOtherSpeedConfiguration: Self
Available on crate feature
usb only.pub const IOUSBDescriptorTypeInterfacePower: Self
Available on crate feature
usb only.pub const IOUSBDescriptorTypeOTG: Self
Available on crate feature
usb only.pub const IOUSBDescriptorTypeDebug: Self
Available on crate feature
usb only.pub const IOUSBDescriptorTypeInterfaceAssociation: Self
Available on crate feature
usb only.pub const IOUSBDescriptorTypeBOS: Self
Available on crate feature
usb only.pub const IOUSBDescriptorTypeDeviceCapability: Self
Available on crate feature
usb only.pub const IOUSBDecriptorTypeHID: Self
Available on crate feature
usb only.pub const IOUSBDecriptorTypeReport: Self
Available on crate feature
usb only.pub const IOUSBDescriptorTypePhysical: Self
Available on crate feature
usb only.pub const IOUSBDescriptorTypeHub: Self
Available on crate feature
usb only.pub const IOUSBDescriptorTypeSuperSpeedHub: Self
Available on crate feature
usb only.pub const IOUSBDescriptorTypeSuperSpeedUSBEndpointCompanion: Self
Available on crate feature
usb only.pub const IOUSBDescriptorTypeSuperSpeedPlusIsochronousEndpointCompanion: Self
Available on crate feature
usb only.Trait Implementations§
Source§impl Clone for tIOUSBDescriptorType
Available on crate feature usb only.
impl Clone for tIOUSBDescriptorType
Available on crate feature
usb only.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
Available on crate feature usb only.
impl Debug for tIOUSBDescriptorType
Available on crate feature
usb only.Source§impl Encode for tIOUSBDescriptorType
Available on crate features usb and objc2 only.
impl Encode for tIOUSBDescriptorType
Available on crate features
usb and objc2 only.Source§impl Hash for tIOUSBDescriptorType
Available on crate feature usb only.
impl Hash for tIOUSBDescriptorType
Available on crate feature
usb only.Source§impl Ord for tIOUSBDescriptorType
Available on crate feature usb only.
impl Ord for tIOUSBDescriptorType
Available on crate feature
usb only.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
Available on crate feature usb only.
impl PartialEq for tIOUSBDescriptorType
Available on crate feature
usb only.Source§impl PartialOrd for tIOUSBDescriptorType
Available on crate feature usb only.
impl PartialOrd for tIOUSBDescriptorType
Available on crate feature
usb only.Source§impl RefEncode for tIOUSBDescriptorType
Available on crate features usb and objc2 only.
impl RefEncode for tIOUSBDescriptorType
Available on crate features
usb and 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
Available on crate feature
usb only.impl Eq for tIOUSBDescriptorType
Available on crate feature
usb only.impl StructuralPartialEq for tIOUSBDescriptorType
Available on crate feature
usb only.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.