Struct pax_message::TouchMessage
source · #[repr(C)]pub struct TouchMessage {
pub x: f64,
pub y: f64,
pub identifier: i64,
pub delta_x: f64,
pub delta_y: f64,
}
Fields§
§x: f64
§y: f64
§identifier: i64
§delta_x: f64
§delta_y: f64
Trait Implementations§
source§impl<'de> Deserialize<'de> for TouchMessage
impl<'de> Deserialize<'de> for TouchMessage
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 TouchMessage
impl RefUnwindSafe for TouchMessage
impl Send for TouchMessage
impl Sync for TouchMessage
impl Unpin for TouchMessage
impl UnwindSafe for TouchMessage
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