pub enum Action {
Show 21 variants
NoAction {},
SetMods {
flags: u8,
mask: u8,
real_mods: u8,
vmods_high: u8,
vmods_low: u8,
},
LatchMods {
flags: u8,
mask: u8,
real_mods: u8,
vmods_high: u8,
vmods_low: u8,
},
LockMods {
flags: u8,
mask: u8,
real_mods: u8,
vmods_high: u8,
vmods_low: u8,
},
SetGroup {
flags: u8,
group: i8,
},
LatchGroup {
flags: u8,
group: i8,
},
LockGroup {
flags: u8,
group: i8,
},
MovePtr {
flags: u8,
x_high: i8,
x_low: u8,
y_high: i8,
y_low: u8,
},
PtrBtn {
flags: u8,
count: u8,
button: u8,
},
LockPtrBtn {
flags: u8,
button: u8,
},
SetPtrDflt {
flags: u8,
affect: u8,
value: i8,
},
IsoLock {
flags: u8,
mask: u8,
real_mods: u8,
group: i8,
affect: u8,
vmods_high: u8,
vmods_low: u8,
},
Terminate {},
SwitchScreen {
flags: u8,
new_screen: i8,
},
SetControls {
bool_ctrls_high: u8,
bool_ctrls_low: u8,
},
LockControls {
bool_ctrls_high: u8,
bool_ctrls_low: u8,
},
Message {
flags: u8,
message: [u8; 6],
},
RedirectKey {
newkey: Keycode,
mask: u8,
real_modifiers: u8,
vmods_mask_high: u8,
vmods_mask_low: u8,
vmods_high: u8,
vmods_low: u8,
},
DeviceBtn {
flags: u8,
count: u8,
button: u8,
device: u8,
},
LockDeviceBtn {
flags: u8,
button: u8,
device: u8,
},
DeviceValuator {
device: u8,
val1what: u8,
val1index: u8,
val1value: u8,
val2what: u8,
val2index: u8,
val2value: u8,
},
}
Variants§
NoAction
SetMods
LatchMods
LockMods
SetGroup
LatchGroup
LockGroup
MovePtr
PtrBtn
LockPtrBtn
SetPtrDflt
IsoLock
Terminate
SwitchScreen
SetControls
LockControls
Message
RedirectKey
Fields
DeviceBtn
LockDeviceBtn
DeviceValuator
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnwindSafe for Action
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)