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
impl Eq for Touchscreen
impl StructuralPartialEq for Touchscreen
Auto Trait Implementations§
impl Freeze for Touchscreen
impl RefUnwindSafe for Touchscreen
impl Send for Touchscreen
impl Sync for Touchscreen
impl Unpin for Touchscreen
impl UnwindSafe for Touchscreen
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)