#[non_exhaustive]pub enum Action {
Show 23 variants
Connect,
Move,
MoveNow,
Press,
Release,
Click,
Wheel,
Pan,
DiscardPendingMoves,
ButtonEvents,
MotionEvents,
KeyEvents,
MediaEvents,
KeyPress,
KeyRelease,
KeyTap,
MediaPress,
MediaRelease,
MediaTap,
LockButton,
LockAxis,
LockKey,
ScaleAxis,
}Expand description
every action a box gets asked whether it can do, and the one an error is about
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Connect
Move
MoveNow
Press
Release
Click
Wheel
Pan
DiscardPendingMoves
ButtonEvents
MotionEvents
KeyEvents
MediaEvents
KeyPress
KeyRelease
KeyTap
MediaPress
MediaRelease
MediaTap
LockButton
LockAxis
LockKey
ScaleAxis
Trait Implementations§
impl Copy for Action
impl Eq for Action
impl StructuralPartialEq for Action
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnsafeUnpin 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