#[repr(transparent)]pub struct IOUSBHostCILinkState(pub c_uint);Available on crate feature
IOUSBHostControllerInterfaceDefinitions only.Expand description
Values to represent a port’s link state, to be used in IOUSBHostCIMessages and IOUSBHostCIPortStatus
See also Apple’s documentation
Tuple Fields§
§0: c_uintImplementations§
Source§impl IOUSBHostCILinkState
impl IOUSBHostCILinkState
pub const U0: Self
pub const U1: Self
pub const U2: Self
pub const U3: Self
pub const Disabled: Self
pub const RxDetect: Self
pub const Inactive: Self
pub const Polling: Self
pub const Recovery: Self
pub const Reset: Self
pub const Compliance: Self
pub const Test: Self
pub const Resume: Self
Trait Implementations§
Source§impl Clone for IOUSBHostCILinkState
impl Clone for IOUSBHostCILinkState
Source§fn clone(&self) -> IOUSBHostCILinkState
fn clone(&self) -> IOUSBHostCILinkState
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 IOUSBHostCILinkState
impl Debug for IOUSBHostCILinkState
Source§impl Encode for IOUSBHostCILinkState
impl Encode for IOUSBHostCILinkState
Source§impl Hash for IOUSBHostCILinkState
impl Hash for IOUSBHostCILinkState
Source§impl Ord for IOUSBHostCILinkState
impl Ord for IOUSBHostCILinkState
Source§fn cmp(&self, other: &IOUSBHostCILinkState) -> Ordering
fn cmp(&self, other: &IOUSBHostCILinkState) -> 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 IOUSBHostCILinkState
impl PartialEq for IOUSBHostCILinkState
Source§impl PartialOrd for IOUSBHostCILinkState
impl PartialOrd for IOUSBHostCILinkState
Source§impl RefEncode for IOUSBHostCILinkState
impl RefEncode for IOUSBHostCILinkState
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 IOUSBHostCILinkState
impl Eq for IOUSBHostCILinkState
impl StructuralPartialEq for IOUSBHostCILinkState
Auto Trait Implementations§
impl Freeze for IOUSBHostCILinkState
impl RefUnwindSafe for IOUSBHostCILinkState
impl Send for IOUSBHostCILinkState
impl Sync for IOUSBHostCILinkState
impl Unpin for IOUSBHostCILinkState
impl UnwindSafe for IOUSBHostCILinkState
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.