Enum thirtyfour::common::action::PointerAction
source · pub enum PointerAction {
Pause {
duration: u64,
},
PointerDown {
button: MouseButton,
duration: u64,
},
PointerUp {
button: MouseButton,
duration: u64,
},
PointerMove {
duration: u64,
origin: PointerOrigin,
x: i64,
y: i64,
},
PointerCancel,
}
Expand description
Pointer Action.
Variants§
Pause
Pause action.
PointerDown
Pointer down action.
PointerUp
Pointer up action.
PointerMove
Pointer move action.
Fields
§
origin: PointerOrigin
The pointer origin.
PointerCancel
Pointer cancel action.
Trait Implementations§
source§impl Action for PointerAction
impl Action for PointerAction
source§impl Clone for PointerAction
impl Clone for PointerAction
source§fn clone(&self) -> PointerAction
fn clone(&self) -> PointerAction
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 PointerAction
impl Debug for PointerAction
Auto Trait Implementations§
impl Freeze for PointerAction
impl RefUnwindSafe for PointerAction
impl Send for PointerAction
impl Sync for PointerAction
impl Unpin for PointerAction
impl UnwindSafe for PointerAction
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