#[repr(transparent)]pub struct IOHIDElementCollectionType(pub c_uint);hid only.Expand description
Describes different types of HID collections.
Collections identify a relationship between two or more elements.
Field: kIOHIDElementCollectionTypePhysical Used for a set of data items that represent data points collected at one geometric point.
Field: kIOHIDElementCollectionTypeApplication Identifies item groups serving different purposes in a single device.
Field: kIOHIDElementCollectionTypeLogical Used when a set of data items form a composite data structure.
Field: kIOHIDElementCollectionTypeReport Wraps all the fields in a report.
Field: kIOHIDElementCollectionTypeNamedArray Contains an array of selector usages.
Field: kIOHIDElementCollectionTypeUsageSwitch Modifies the meaning of the usage it contains.
Field: kIOHIDElementCollectionTypeUsageModifier Modifies the meaning of the usage attached to the encompassing collection.
See also Apple’s documentation
Tuple Fields§
§0: c_uintImplementations§
Source§impl IOHIDElementCollectionType
impl IOHIDElementCollectionType
pub const Physical: Self
pub const Application: Self
pub const Logical: Self
pub const Report: Self
pub const NamedArray: Self
pub const UsageSwitch: Self
pub const UsageModifier: Self
Trait Implementations§
Source§impl Clone for IOHIDElementCollectionType
impl Clone for IOHIDElementCollectionType
Source§fn clone(&self) -> IOHIDElementCollectionType
fn clone(&self) -> IOHIDElementCollectionType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for IOHIDElementCollectionType
impl Debug for IOHIDElementCollectionType
Source§impl Encode for IOHIDElementCollectionType
Available on crate feature objc2 only.
impl Encode for IOHIDElementCollectionType
objc2 only.Source§impl Hash for IOHIDElementCollectionType
impl Hash for IOHIDElementCollectionType
Source§impl Ord for IOHIDElementCollectionType
impl Ord for IOHIDElementCollectionType
Source§fn cmp(&self, other: &IOHIDElementCollectionType) -> Ordering
fn cmp(&self, other: &IOHIDElementCollectionType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialOrd for IOHIDElementCollectionType
impl PartialOrd for IOHIDElementCollectionType
Source§impl RefEncode for IOHIDElementCollectionType
Available on crate feature objc2 only.
impl RefEncode for IOHIDElementCollectionType
objc2 only.