pub enum RawPointerEvent {
Down {
position: Point,
button: PointerButton,
modifiers: Modifiers,
},
Move {
position: Point,
},
Up {
position: Point,
button: PointerButton,
modifiers: Modifiers,
},
}Expand description
Raw pointer events fed into gesture recognizers.
Variants§
Trait Implementations§
Source§impl Clone for RawPointerEvent
impl Clone for RawPointerEvent
Source§fn clone(&self) -> RawPointerEvent
fn clone(&self) -> RawPointerEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RawPointerEvent
Auto Trait Implementations§
impl Freeze for RawPointerEvent
impl RefUnwindSafe for RawPointerEvent
impl Send for RawPointerEvent
impl Sync for RawPointerEvent
impl Unpin for RawPointerEvent
impl UnsafeUnpin for RawPointerEvent
impl UnwindSafe for RawPointerEvent
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