Struct PointerUpdateKind
#[repr(transparent)]pub struct PointerUpdateKind(pub i32);Tuple Fields§
§0: i32Implementations§
§impl PointerUpdateKind
impl PointerUpdateKind
pub const Other: Self
pub const LeftButtonPressed: Self
pub const LeftButtonReleased: Self
pub const RightButtonPressed: Self
pub const RightButtonReleased: Self
pub const MiddleButtonPressed: Self
pub const MiddleButtonReleased: Self
pub const XButton1Pressed: Self
pub const XButton1Released: Self
pub const XButton2Pressed: Self
pub const XButton2Released: Self
Trait Implementations§
§impl Clone for PointerUpdateKind
impl Clone for PointerUpdateKind
§fn clone(&self) -> PointerUpdateKind
fn clone(&self) -> PointerUpdateKind
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 more§impl Debug for PointerUpdateKind
impl Debug for PointerUpdateKind
§impl Default for PointerUpdateKind
impl Default for PointerUpdateKind
§fn default() -> PointerUpdateKind
fn default() -> PointerUpdateKind
Returns the “default value” for a type. Read more
§impl PartialEq for PointerUpdateKind
impl PartialEq for PointerUpdateKind
impl Copy for PointerUpdateKind
impl Eq for PointerUpdateKind
impl StructuralPartialEq for PointerUpdateKind
Auto Trait Implementations§
impl Freeze for PointerUpdateKind
impl RefUnwindSafe for PointerUpdateKind
impl Send for PointerUpdateKind
impl Sync for PointerUpdateKind
impl Unpin for PointerUpdateKind
impl UnwindSafe for PointerUpdateKind
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