#[repr(transparent)]pub struct tIOUSBHostPortStatus(pub c_uint);Available on crate features
IOUSBHostFamilyDefinitions and usb only.Expand description
Values returned by IOUSBHostDevice::getPortStatus and kUSBHostPortPropertyStatus
See also Apple’s documentation
Tuple Fields§
§0: c_uintImplementations§
Source§impl tIOUSBHostPortStatus
impl tIOUSBHostPortStatus
pub const IOUSBHostPortStatusPortTypeMask: Self
pub const IOUSBHostPortStatusPortTypePhase: Self
pub const IOUSBHostPortStatusPortTypeStandard: Self
pub const IOUSBHostPortStatusPortTypeCaptive: Self
pub const IOUSBHostPortStatusPortTypeInternal: Self
pub const IOUSBHostPortStatusPortTypeAccessory: Self
pub const IOUSBHostPortStatusPortTypeReserved: Self
pub const IOUSBHostPortStatusConnectedSpeedMask: Self
pub const IOUSBHostPortStatusConnectedSpeedPhase: Self
pub const IOUSBHostPortStatusConnectedSpeedNone: Self
pub const IOUSBHostPortStatusConnectedSpeedFull: Self
pub const IOUSBHostPortStatusConnectedSpeedLow: Self
pub const IOUSBHostPortStatusConnectedSpeedHigh: Self
pub const IOUSBHostPortStatusConnectedSpeedSuper: Self
pub const IOUSBHostPortStatusConnectedSpeedSuperPlus: Self
pub const IOUSBHostPortStatusConnectedSpeedSuperPlusBy2: Self
pub const IOUSBHostPortStatusResetting: Self
pub const IOUSBHostPortStatusEnabled: Self
pub const IOUSBHostPortStatusSuspended: Self
pub const IOUSBHostPortStatusOvercurrent: Self
pub const IOUSBHostPortStatusTestMode: Self
Trait Implementations§
Source§impl Clone for tIOUSBHostPortStatus
impl Clone for tIOUSBHostPortStatus
Source§fn clone(&self) -> tIOUSBHostPortStatus
fn clone(&self) -> tIOUSBHostPortStatus
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 tIOUSBHostPortStatus
impl Debug for tIOUSBHostPortStatus
Source§impl Encode for tIOUSBHostPortStatus
Available on crate feature objc2 only.
impl Encode for tIOUSBHostPortStatus
Available on crate feature
objc2 only.Source§impl Hash for tIOUSBHostPortStatus
impl Hash for tIOUSBHostPortStatus
Source§impl Ord for tIOUSBHostPortStatus
impl Ord for tIOUSBHostPortStatus
Source§fn cmp(&self, other: &tIOUSBHostPortStatus) -> Ordering
fn cmp(&self, other: &tIOUSBHostPortStatus) -> 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 tIOUSBHostPortStatus
impl PartialEq for tIOUSBHostPortStatus
Source§impl PartialOrd for tIOUSBHostPortStatus
impl PartialOrd for tIOUSBHostPortStatus
Source§impl RefEncode for tIOUSBHostPortStatus
Available on crate feature objc2 only.
impl RefEncode for tIOUSBHostPortStatus
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 tIOUSBHostPortStatus
impl Eq for tIOUSBHostPortStatus
impl StructuralPartialEq for tIOUSBHostPortStatus
Auto Trait Implementations§
impl Freeze for tIOUSBHostPortStatus
impl RefUnwindSafe for tIOUSBHostPortStatus
impl Send for tIOUSBHostPortStatus
impl Sync for tIOUSBHostPortStatus
impl Unpin for tIOUSBHostPortStatus
impl UnwindSafe for tIOUSBHostPortStatus
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.