#[repr(transparent)]pub struct tIOUSBHostPortStatus(pub c_uint);Available on crate feature
IOUSBHostFamilyDefinitions 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
Available on crate feature
usb only.pub const IOUSBHostPortStatusPortTypePhase: Self
Available on crate feature
usb only.pub const IOUSBHostPortStatusPortTypeStandard: Self
Available on crate feature
usb only.pub const IOUSBHostPortStatusPortTypeCaptive: Self
Available on crate feature
usb only.pub const IOUSBHostPortStatusPortTypeInternal: Self
Available on crate feature
usb only.pub const IOUSBHostPortStatusPortTypeAccessory: Self
Available on crate feature
usb only.pub const IOUSBHostPortStatusPortTypeReserved: Self
Available on crate feature
usb only.pub const IOUSBHostPortStatusConnectedSpeedMask: Self
Available on crate feature
usb only.pub const IOUSBHostPortStatusConnectedSpeedPhase: Self
Available on crate feature
usb only.pub const IOUSBHostPortStatusConnectedSpeedNone: Self
Available on crate feature
usb only.pub const IOUSBHostPortStatusConnectedSpeedFull: Self
Available on crate feature
usb only.pub const IOUSBHostPortStatusConnectedSpeedLow: Self
Available on crate feature
usb only.pub const IOUSBHostPortStatusConnectedSpeedHigh: Self
Available on crate feature
usb only.pub const IOUSBHostPortStatusConnectedSpeedSuper: Self
Available on crate feature
usb only.pub const IOUSBHostPortStatusConnectedSpeedSuperPlus: Self
Available on crate feature
usb only.pub const IOUSBHostPortStatusConnectedSpeedSuperPlusBy2: Self
Available on crate feature
usb only.pub const IOUSBHostPortStatusResetting: Self
Available on crate feature
usb only.pub const IOUSBHostPortStatusEnabled: Self
Available on crate feature
usb only.pub const IOUSBHostPortStatusSuspended: Self
Available on crate feature
usb only.pub const IOUSBHostPortStatusOvercurrent: Self
Available on crate feature
usb only.pub const IOUSBHostPortStatusTestMode: Self
Available on crate feature
usb only.Trait Implementations§
Source§impl Clone for tIOUSBHostPortStatus
Available on crate feature usb only.
impl Clone for tIOUSBHostPortStatus
Available on crate feature
usb only.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
Available on crate feature usb only.
impl Debug for tIOUSBHostPortStatus
Available on crate feature
usb only.Source§impl Encode for tIOUSBHostPortStatus
Available on crate features usb and objc2 only.
impl Encode for tIOUSBHostPortStatus
Available on crate features
usb and objc2 only.Source§impl Hash for tIOUSBHostPortStatus
Available on crate feature usb only.
impl Hash for tIOUSBHostPortStatus
Available on crate feature
usb only.Source§impl Ord for tIOUSBHostPortStatus
Available on crate feature usb only.
impl Ord for tIOUSBHostPortStatus
Available on crate feature
usb only.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
Available on crate feature usb only.
impl PartialEq for tIOUSBHostPortStatus
Available on crate feature
usb only.Source§impl PartialOrd for tIOUSBHostPortStatus
Available on crate feature usb only.
impl PartialOrd for tIOUSBHostPortStatus
Available on crate feature
usb only.Source§impl RefEncode for tIOUSBHostPortStatus
Available on crate features usb and objc2 only.
impl RefEncode for tIOUSBHostPortStatus
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 tIOUSBHostPortStatus
Available on crate feature
usb only.impl Eq for tIOUSBHostPortStatus
Available on crate feature
usb only.impl StructuralPartialEq for tIOUSBHostPortStatus
Available on crate feature
usb only.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.