#[repr(u32)]pub enum PointerAction {
ButtonUp = 0,
ButtonDown = 1,
Enter = 2,
Leave = 3,
Motion = 4,
}Expand description
Pointer action.
Variants§
ButtonUp = 0
A pointer button has been released.
ButtonDown = 1
A pointer button has been pressed.
Enter = 2
The pointer entered the surface.
Leave = 3
The pointer left the surface.
Motion = 4
Axis values have changed.
Trait Implementations§
Source§impl Clone for PointerAction
impl Clone for PointerAction
Source§fn clone(&self) -> PointerAction
fn clone(&self) -> PointerAction
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 PointerAction
impl Debug for PointerAction
Source§impl Default for PointerAction
impl Default for PointerAction
Source§fn default() -> PointerAction
fn default() -> PointerAction
Returns the “default value” for a type. Read more
Source§impl From<PointerAction> for MirPointerAction
impl From<PointerAction> for MirPointerAction
Source§fn from(value: PointerAction) -> Self
fn from(value: PointerAction) -> Self
Converts to this type from the input type.
Source§impl Hash for PointerAction
impl Hash for PointerAction
Source§impl PartialEq for PointerAction
impl PartialEq for PointerAction
Source§impl TryFrom<u32> for PointerAction
impl TryFrom<u32> for PointerAction
impl Copy for PointerAction
impl Eq for PointerAction
impl StructuralPartialEq 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 UnsafeUnpin 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