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