#[repr(C)]pub struct Touch {
pub finger_id: Uint32,
pub x: Int32,
pub y: Int32,
pub width: Uint32,
pub height: Uint32,
}Expand description
The wire type corresponding to Touch.
Fields§
§finger_id: Uint32§x: Int32§y: Int32§width: Uint32§height: Uint32Trait Implementations§
Source§impl<___E> Encode<Touch, ___E> for Touchwhere
___E: InternalHandleEncoder + ?Sized,
impl<___E> Encode<Touch, ___E> for Touchwhere
___E: InternalHandleEncoder + ?Sized,
Source§const COPY_OPTIMIZATION: CopyOptimization<Self, Touch>
const COPY_OPTIMIZATION: CopyOptimization<Self, Touch>
Source§impl<'a, ___E> Encode<Touch, ___E> for &'a Touchwhere
___E: InternalHandleEncoder + ?Sized,
impl<'a, ___E> Encode<Touch, ___E> for &'a Touchwhere
___E: InternalHandleEncoder + ?Sized,
Source§impl<___E, T0, T1, T2, T3, T4> Encode<Touch, ___E> for Touch<T0, T1, T2, T3, T4>where
___E: InternalHandleEncoder + ?Sized,
T0: Encode<Uint32, ___E>,
T1: Encode<Int32, ___E>,
T2: Encode<Int32, ___E>,
T3: Encode<Uint32, ___E>,
T4: Encode<Uint32, ___E>,
impl<___E, T0, T1, T2, T3, T4> Encode<Touch, ___E> for Touch<T0, T1, T2, T3, T4>where
___E: InternalHandleEncoder + ?Sized,
T0: Encode<Uint32, ___E>,
T1: Encode<Int32, ___E>,
T2: Encode<Int32, ___E>,
T3: Encode<Uint32, ___E>,
T4: Encode<Uint32, ___E>,
Source§impl FromWireRef<Touch> for Touch
impl FromWireRef<Touch> for Touch
Source§fn from_wire_ref(wire: &Touch) -> Self
fn from_wire_ref(wire: &Touch) -> Self
Converts the given reference to this type.
Auto Trait Implementations§
impl Freeze for Touch
impl RefUnwindSafe for Touch
impl Send for Touch
impl Sync for Touch
impl Unpin for Touch
impl UnsafeUnpin for Touch
impl UnwindSafe for Touch
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]