pub struct TouchActionResult {
pub contact: i32,
pub point: Point,
pub pressure: i32,
pub auto_up: bool,
}Expand description
Result of a TouchDown, TouchMove, or TouchUp action.
Fields§
§contact: i32§point: Point§pressure: i32§auto_up: boolWhether automatic release was requested for TouchDown. Default: false.
Trait Implementations§
Source§impl Clone for TouchActionResult
impl Clone for TouchActionResult
Source§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 UnsafeUnpin 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