Struct wayland_client::wayland::seat::WlTouch [] [src]

pub struct WlTouch {
    // some fields omitted
}

touchscreen input device

The wl_touch interface represents a touchscreen associated with a seat.

Touch interactions can consist of one or more contacts. For each contact, a series of events is generated, starting with a down event, followed by zero or more motion events, and ending with an up event. Events relating to the same contact point can be identified by the ID of the sequence.

Methods

impl WlTouch

fn release(self)

release the touch object

Requires interface version >= 3.

Trait Implementations

impl Sync for WlTouch

impl Send for WlTouch

impl Proxy for WlTouch

fn ptr(&self) -> *mut wl_proxy

fn interface() -> *mut wl_interface

fn interface_name() -> &'static str

fn version() -> u32

fn id(&self) -> ProxyId

unsafe fn from_ptr(ptr: *mut wl_proxy) -> WlTouch

unsafe fn from_ptr_no_own(ptr: *mut wl_proxy) -> WlTouch

fn set_evt_iterator(&mut self, evt: &EventIterator)

impl Debug for WlTouch

fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>

impl Drop for WlTouch

fn drop(&mut self)