#[repr(u32)]pub enum PointerEventKind {
Cancel = 0,
Down = 1,
Up = 2,
Move = 3,
}
Expand description
The enum reports what happened to the PointerEventButton
in the event
Variants§
Cancel = 0
The action was cancelled.
Down = 1
The button was pressed.
Up = 2
The button was released.
Move = 3
The pointer has moved,
Trait Implementations§
Source§impl Clone for PointerEventKind
impl Clone for PointerEventKind
Source§fn clone(&self) -> PointerEventKind
fn clone(&self) -> PointerEventKind
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 PointerEventKind
impl Debug for PointerEventKind
Source§impl Default for PointerEventKind
impl Default for PointerEventKind
Source§impl Display for PointerEventKind
impl Display for PointerEventKind
Source§impl FromStr for PointerEventKind
impl FromStr for PointerEventKind
Source§impl Hash for PointerEventKind
impl Hash for PointerEventKind
Source§impl PartialEq for PointerEventKind
impl PartialEq for PointerEventKind
Source§impl TryFrom<&str> for PointerEventKind
impl TryFrom<&str> for PointerEventKind
impl Copy for PointerEventKind
impl Eq for PointerEventKind
impl StructuralPartialEq for PointerEventKind
Auto Trait Implementations§
impl Freeze for PointerEventKind
impl RefUnwindSafe for PointerEventKind
impl Send for PointerEventKind
impl Sync for PointerEventKind
impl Unpin for PointerEventKind
impl UnwindSafe for PointerEventKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Converts the given value to a
SharedString
.