pub enum MotionAction {
Down,
Move,
Up,
Cancel,
}Expand description
The type of pointer action in a motion event.
Variants§
Trait Implementations§
Source§impl Clone for MotionAction
impl Clone for MotionAction
Source§fn clone(&self) -> MotionAction
fn clone(&self) -> MotionAction
Returns a duplicate 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 MotionAction
impl Debug for MotionAction
impl Copy for MotionAction
Auto Trait Implementations§
impl Freeze for MotionAction
impl RefUnwindSafe for MotionAction
impl Send for MotionAction
impl Sync for MotionAction
impl Unpin for MotionAction
impl UnwindSafe for MotionAction
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