Enum hid_io_protocol::HidIoCommandId
source · #[repr(u32)]
pub enum HidIoCommandId {
Show 37 variants
SupportedIds,
GetInfo,
TestPacket,
ResetHidIo,
Reserved,
GetProperties,
KeyState,
KeyboardLayout,
KeyLayout,
KeyShapes,
LedLayout,
FlashMode,
UnicodeText,
UnicodeState,
HostMacro,
SleepMode,
KllState,
PixelSetting,
PixelSet1c8b,
PixelSet3c8b,
PixelSet1c16b,
PixelSet3c16b,
DirectSet,
OpenUrl,
TerminalCmd,
GetInputLayout,
SetInputLayout,
TerminalOut,
HidKeyboard,
HidKeyboardLed,
HidMouse,
HidJoystick,
HidSystemCtrl,
HidConsumerCtrl,
ManufacturingTest,
ManufacturingResult,
Unused,
}
Expand description
Requests for to perform a specific action
Variants§
SupportedIds
GetInfo
TestPacket
ResetHidIo
Reserved
GetProperties
KeyState
KeyboardLayout
KeyLayout
KeyShapes
LedLayout
FlashMode
UnicodeText
UnicodeState
HostMacro
SleepMode
KllState
PixelSetting
PixelSet1c8b
PixelSet3c8b
PixelSet1c16b
PixelSet3c16b
DirectSet
OpenUrl
TerminalCmd
GetInputLayout
SetInputLayout
TerminalOut
HidKeyboard
HidKeyboardLed
HidMouse
HidJoystick
HidSystemCtrl
HidConsumerCtrl
ManufacturingTest
ManufacturingResult
Unused
Trait Implementations§
source§impl Clone for HidIoCommandId
impl Clone for HidIoCommandId
source§fn clone(&self) -> HidIoCommandId
fn clone(&self) -> HidIoCommandId
Returns a copy 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 HidIoCommandId
impl Debug for HidIoCommandId
source§impl From<HidIoCommandId> for u32
impl From<HidIoCommandId> for u32
source§fn from(enum_value: HidIoCommandId) -> Self
fn from(enum_value: HidIoCommandId) -> Self
Converts to this type from the input type.
source§impl Ord for HidIoCommandId
impl Ord for HidIoCommandId
source§fn cmp(&self, other: &HidIoCommandId) -> Ordering
fn cmp(&self, other: &HidIoCommandId) -> 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<HidIoCommandId> for HidIoCommandId
impl PartialEq<HidIoCommandId> for HidIoCommandId
source§fn eq(&self, other: &HidIoCommandId) -> bool
fn eq(&self, other: &HidIoCommandId) -> bool
source§impl PartialOrd<HidIoCommandId> for HidIoCommandId
impl PartialOrd<HidIoCommandId> for HidIoCommandId
source§fn partial_cmp(&self, other: &HidIoCommandId) -> Option<Ordering>
fn partial_cmp(&self, other: &HidIoCommandId) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<u32> for HidIoCommandId
impl TryFrom<u32> for HidIoCommandId
§type Error = TryFromPrimitiveError<HidIoCommandId>
type Error = TryFromPrimitiveError<HidIoCommandId>
The type returned in the event of a conversion error.