[−][src]Enum paddle::PointerEventType
Rust representation for mouse and touch event types.
Several different browser events are mapped to this unified pointer representation.
For example, all three of mousemove
, touchmove
, and pointermove
are mapped to PointerEventType::Move
.
If the browser generates multiple events mapped to the same PointerEventType
, Paddle makes an effort to detect this and only forward one of them.
Variants
Left-click or short tap
Right-click or long touch
Double-click or double-tap
Release mouse or touch
Press mouse or touch
Pointer is moved to a new coordinate
Pointer is moved from outside the frame to inside the frame
Pointer is moved from inside the frame to outside the frame
Trait Implementations
impl Clone for PointerEventType
[src]
pub fn clone(&self) -> PointerEventType
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for PointerEventType
[src]
impl Debug for PointerEventType
[src]
impl Eq for PointerEventType
[src]
impl Hash for PointerEventType
[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<PointerEventType> for PointerEventType
[src]
pub fn eq(&self, other: &PointerEventType) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for PointerEventType
[src]
impl StructuralPartialEq for PointerEventType
[src]
Auto Trait Implementations
impl RefUnwindSafe for PointerEventType
[src]
impl Send for PointerEventType
[src]
impl Sync for PointerEventType
[src]
impl Unpin for PointerEventType
[src]
impl UnwindSafe for PointerEventType
[src]
Blanket Implementations
impl<T> Activity for T where
T: Any,
[src]
T: Any,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,