Struct
InjectTouch
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
impl AsScalar<4> for InjectTouch
impl AsScalar<4> for InjectTouch
fn as_scalar(&self) -> [u32; 4]
impl Debug for InjectTouch
impl Debug for InjectTouch
impl FromScalar<4> for InjectTouch
impl FromScalar<4> for InjectTouch
fn from_scalar(value: [u32; 4]) -> Self
impl MessageId for InjectTouch
impl MessageId for InjectTouch
const ID: MessageId = 55usize
const ID: MessageId = 55usize
unique message identifier
const SERVER: &'static str = "os/gui-server"
const SERVER: &'static str = "os/gui-server"
target server name