pub struct InjectTouch(pub Touch);Expand description
Injects a touch event into the GUI event pipeline as if it came from hardware. Works on both hardware and simulator.
Tuple Fields§
§0: TouchTrait Implementations§
Source§impl Debug for InjectTouch
impl Debug for InjectTouch
Source§impl FromScalar<4> for InjectTouch
impl FromScalar<4> for InjectTouch
fn from_scalar(value: [u32; 4]) -> Self
Source§impl MessageId for InjectTouch
impl MessageId for InjectTouch
Source§impl Scalar for InjectTouch
impl Scalar for InjectTouch
fn to_message(&self) -> ScalarMessagewhere
Self: Sized,
Auto Trait Implementations§
impl Freeze for InjectTouch
impl RefUnwindSafe for InjectTouch
impl Send for InjectTouch
impl Sync for InjectTouch
impl Unpin for InjectTouch
impl UnsafeUnpin for InjectTouch
impl UnwindSafe for InjectTouch
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.