pub struct WlTouch;
Expand description
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.
Trait Implementations§
Source§impl Interface for WlTouch
impl Interface for WlTouch
Source§const NAME: &'static str = "wl_touch"
const NAME: &'static str = "wl_touch"
The name of this interface. This will correspond to the ‘name’ attribute
on the ‘interface’ element in the wayland protocol XML.
Auto Trait Implementations§
impl Freeze for WlTouch
impl RefUnwindSafe for WlTouch
impl Send for WlTouch
impl Sync for WlTouch
impl Unpin for WlTouch
impl UnwindSafe for WlTouch
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
Mutably borrows from an owned value. Read more