Enum hid_io_protocol::HidIoCommandId
source · [−]#[repr(u32)]
pub enum HidIoCommandId {
Show 36 variants
SupportedIds,
GetInfo,
TestPacket,
ResetHidIo,
Reserved,
GetProperties,
KeyState,
KeyboardLayout,
KeyLayout,
KeyShapes,
LedLayout,
FlashMode,
UnicodeText,
UnicodeState,
HostMacro,
SleepMode,
KllState,
PixelSetting,
PixelSet1c8b,
PixelSet3c8b,
PixelSet1c16b,
PixelSet3c16b,
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
OpenUrl
TerminalCmd
GetInputLayout
SetInputLayout
TerminalOut
HidKeyboard
HidKeyboardLed
HidMouse
HidJoystick
HidSystemCtrl
HidConsumerCtrl
ManufacturingTest
ManufacturingResult
Unused
Trait Implementations
sourceimpl Clone for HidIoCommandId
impl Clone for HidIoCommandId
sourcefn clone(&self) -> HidIoCommandId
fn clone(&self) -> HidIoCommandId
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for HidIoCommandId
impl Debug for HidIoCommandId
sourceimpl From<HidIoCommandId> for u32
impl From<HidIoCommandId> for u32
sourcefn from(enum_value: HidIoCommandId) -> Self
fn from(enum_value: HidIoCommandId) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<HidIoCommandId> for HidIoCommandId
impl PartialEq<HidIoCommandId> for HidIoCommandId
sourceimpl 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.
sourcefn try_from(number: u32) -> Result<Self, TryFromPrimitiveError<Self>>
fn try_from(number: u32) -> Result<Self, TryFromPrimitiveError<Self>>
Performs the conversion.
sourceimpl TryFromPrimitive for HidIoCommandId
impl TryFromPrimitive for HidIoCommandId
type Primitive = u32
const NAME: &'static str = "HidIoCommandId"
fn try_from_primitive(
number: Self::Primitive
) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for HidIoCommandId
impl Eq for HidIoCommandId
impl StructuralEq for HidIoCommandId
impl StructuralPartialEq for HidIoCommandId
Auto Trait Implementations
impl RefUnwindSafe for HidIoCommandId
impl Send for HidIoCommandId
impl Sync for HidIoCommandId
impl Unpin for HidIoCommandId
impl UnwindSafe for HidIoCommandId
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more