pub struct PointerAbsolute(/* private fields */);Implementations§
Source§impl PointerAbsolute
impl PointerAbsolute
Sourcepub fn release(&self)
pub fn release(&self)
Notification that the client is no longer interested in this object.
The EIS implementation will release any resources related to this object and
send the ei_pointer_absolute.destroyed event once complete.
Sourcepub fn motion_absolute(&self, x: f32, y: f32)
pub fn motion_absolute(&self, x: f32, y: f32)
Generate an absolute motion event on this pointer. The x/y coordinates must be within the device’s regions or the event is silently discarded.
It is a client bug to send this request more than once
within the same ei_device.frame and the EIS implementation
may ignore either or all such requests and/or disconnect the client.
It is a protocol violation to send this request for a client
of an ei_handshake.context_type other than sender.
Trait Implementations§
Source§impl Clone for PointerAbsolute
impl Clone for PointerAbsolute
Source§fn clone(&self) -> PointerAbsolute
fn clone(&self) -> PointerAbsolute
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PointerAbsolute
impl Debug for PointerAbsolute
Source§impl Hash for PointerAbsolute
impl Hash for PointerAbsolute
Source§impl PartialEq for PointerAbsolute
impl PartialEq for PointerAbsolute
impl Eq for PointerAbsolute
impl StructuralPartialEq for PointerAbsolute
Auto Trait Implementations§
impl Freeze for PointerAbsolute
impl RefUnwindSafe for PointerAbsolute
impl Send for PointerAbsolute
impl Sync for PointerAbsolute
impl Unpin for PointerAbsolute
impl UnwindSafe for PointerAbsolute
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