pub struct DoubleClick {
pub x: i64,
pub y: i64,
}Expand description
A double click action.
Fields§
§x: i64The x-coordinate where the double click occurred.
y: i64The y-coordinate where the double click occurred.
Implementations§
Trait Implementations§
Source§impl Clone for DoubleClick
impl Clone for DoubleClick
Source§fn clone(&self) -> DoubleClick
fn clone(&self) -> DoubleClick
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 DoubleClick
Source§impl Debug for DoubleClick
impl Debug for DoubleClick
Source§impl<'de> Deserialize<'de> for DoubleClick
impl<'de> Deserialize<'de> for DoubleClick
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DoubleClick
impl PartialEq for DoubleClick
Source§fn eq(&self, other: &DoubleClick) -> bool
fn eq(&self, other: &DoubleClick) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DoubleClick
impl Serialize for DoubleClick
impl StructuralPartialEq for DoubleClick
Auto Trait Implementations§
impl Freeze for DoubleClick
impl RefUnwindSafe for DoubleClick
impl Send for DoubleClick
impl Sync for DoubleClick
impl Unpin for DoubleClick
impl UnsafeUnpin for DoubleClick
impl UnwindSafe for DoubleClick
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