pub struct LongPressActionResult {
pub point: Point,
pub duration: i32,
pub contact: i32,
}Expand description
Result of a LongPress action.
Fields§
§point: Point§duration: i32§contact: i32Trait Implementations§
Source§impl Clone for LongPressActionResult
impl Clone for LongPressActionResult
Source§fn clone(&self) -> LongPressActionResult
fn clone(&self) -> LongPressActionResult
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 LongPressActionResult
impl Debug for LongPressActionResult
Source§impl<'de> Deserialize<'de> for LongPressActionResult
impl<'de> Deserialize<'de> for LongPressActionResult
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
Auto Trait Implementations§
impl Freeze for LongPressActionResult
impl RefUnwindSafe for LongPressActionResult
impl Send for LongPressActionResult
impl Sync for LongPressActionResult
impl Unpin for LongPressActionResult
impl UnwindSafe for LongPressActionResult
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