#[repr(transparent)]pub struct IOHIDElementType(pub c_uint);hid only.Expand description
Describes different types of HID elements.
Used by the IOHIDFamily to identify the type of element processed. Represented by the key kIOHIDElementTypeKey in the dictionary describing the element.
Field: kIOHIDElementTypeInput_Misc Misc input data field or varying size.
Field: kIOHIDElementTypeInput_Button One bit input data field.
Field: kIOHIDElementTypeInput_Axis Input data field used to represent an axis.
Field: kIOHIDElementTypeInput_ScanCodes Input data field used to represent a scan code or usage selector.
Field: kIOHIDElementTypeInput_NULL Input data field used to represent the end of an input report when receiving input elements.
Field: kIOHIDElementTypeOutput Used to represent an output data field in a report.
Field: kIOHIDElementTypeFeature Describes input and output elements not intended for consumption by the end user.
Field: kIOHIDElementTypeCollection Element used to identify a relationship between two or more elements.
See also Apple’s documentation
Tuple Fields§
§0: c_uintImplementations§
Source§impl IOHIDElementType
impl IOHIDElementType
pub const Input_Misc: Self
pub const Input_Button: Self
pub const Input_Axis: Self
pub const Input_ScanCodes: Self
pub const Input_NULL: Self
pub const Output: Self
pub const Feature: Self
pub const Collection: Self
Trait Implementations§
Source§impl Clone for IOHIDElementType
impl Clone for IOHIDElementType
Source§fn clone(&self) -> IOHIDElementType
fn clone(&self) -> IOHIDElementType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for IOHIDElementType
impl Debug for IOHIDElementType
Source§impl Encode for IOHIDElementType
Available on crate feature objc2 only.
impl Encode for IOHIDElementType
objc2 only.Source§impl Hash for IOHIDElementType
impl Hash for IOHIDElementType
Source§impl Ord for IOHIDElementType
impl Ord for IOHIDElementType
Source§fn cmp(&self, other: &IOHIDElementType) -> Ordering
fn cmp(&self, other: &IOHIDElementType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for IOHIDElementType
impl PartialEq for IOHIDElementType
Source§impl PartialOrd for IOHIDElementType
impl PartialOrd for IOHIDElementType
Source§impl RefEncode for IOHIDElementType
Available on crate feature objc2 only.
impl RefEncode for IOHIDElementType
objc2 only.