#[repr(u8)]pub enum ApiOpcode {
Show 34 variants
Device = 2,
FirmwareVersion = 4,
Buttons = 16,
Left = 17,
Right = 18,
Middle = 19,
Side1 = 20,
Side2 = 21,
MoveMask = 22,
WheelMask = 23,
Move = 24,
Wheel = 25,
LeftMask = 26,
RightMask = 27,
MiddleMask = 28,
Side1Mask = 29,
Side2Mask = 30,
KeyDown = 32,
KeyUp = 33,
KeyInit = 34,
KeyPress = 35,
KeyString = 36,
KeyIsDown = 37,
KeyMultiDown = 38,
KeyMultiUp = 39,
KeyMultiPress = 40,
KeyMask = 41,
KeyRemap = 42,
KeyKeys = 43,
ControllerState = 64,
ControllerStream = 65,
InputStream = 82,
InputChange = 83,
ControllerMask = 81,
}Variants§
Device = 2
FirmwareVersion = 4
Buttons = 16
Left = 17
Right = 18
Middle = 19
Side1 = 20
Side2 = 21
MoveMask = 22
WheelMask = 23
Move = 24
Wheel = 25
LeftMask = 26
RightMask = 27
MiddleMask = 28
Side1Mask = 29
Side2Mask = 30
KeyDown = 32
KeyUp = 33
KeyInit = 34
KeyPress = 35
KeyString = 36
KeyIsDown = 37
KeyMultiDown = 38
KeyMultiUp = 39
KeyMultiPress = 40
KeyMask = 41
KeyRemap = 42
KeyKeys = 43
ControllerState = 64
ControllerStream = 65
InputStream = 82
InputChange = 83
ControllerMask = 81
Trait Implementations§
impl Copy for ApiOpcode
impl Eq for ApiOpcode
impl StructuralPartialEq for ApiOpcode
Auto Trait Implementations§
impl Forget for ApiOpcode
impl Freeze for ApiOpcode
impl RefUnwindSafe for ApiOpcode
impl Send for ApiOpcode
impl Sync for ApiOpcode
impl Unpin for ApiOpcode
impl UnsafeUnpin for ApiOpcode
impl UnwindSafe for ApiOpcode
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