Struct reis::eis::Touchscreen
source · pub struct Touchscreen(/* private fields */);Implementations§
source§impl Touchscreen
impl Touchscreen
sourcepub fn destroyed(&self, serial: u32)
pub fn destroyed(&self, serial: u32)
This touch has been removed and a client should release all associated resources.
This ei_touchscreen object will be destroyed by the EIS implementation immmediately after after this event is sent and as such the client must not attempt to use it after that point.
sourcepub fn down(&self, touchid: u32, x: f32, y: f32)
pub fn down(&self, touchid: u32, x: f32, y: f32)
See the ei_touchscreen.down request for details.
It is a protocol violation to send this request for a client of an ei_handshake.context_type other than receiver.
It is a protocol violation to send a touch down in the same frame as a touch motion or touch up.
sourcepub fn motion(&self, touchid: u32, x: f32, y: f32)
pub fn motion(&self, touchid: u32, x: f32, y: f32)
See the ei_touchscreen.motion request for details.
It is a protocol violation to send this request for a client of an ei_handshake.context_type other than receiver.
It is a protocol violation to send a touch motion in the same frame as a touch down or touch up.
Trait Implementations§
source§impl Clone for Touchscreen
impl Clone for Touchscreen
source§fn clone(&self) -> Touchscreen
fn clone(&self) -> Touchscreen
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for Touchscreen
impl Debug for Touchscreen
source§impl Hash for Touchscreen
impl Hash for Touchscreen
source§impl PartialEq for Touchscreen
impl PartialEq for Touchscreen
source§fn eq(&self, other: &Touchscreen) -> bool
fn eq(&self, other: &Touchscreen) -> bool
self and other values to be equal, and is used
by ==.