pub struct Pointer(/* private fields */);Implementations§
Source§impl Pointer
impl Pointer
Sourcepub fn destroyed(&self, serial: u32)
pub fn destroyed(&self, serial: u32)
This object has been removed and a client should release all associated resources.
This 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 motion_relative(&self, x: f32, y: f32)
pub fn motion_relative(&self, x: f32, y: f32)
See the ei_pointer.motion_relative request for details.
It is a protocol violation to send this request for a client of an ei_handshake.context_type other than receiver.
Trait Implementations§
impl DeviceInterface for Pointer
impl Eq for Pointer
impl StructuralPartialEq for Pointer
Auto Trait Implementations§
impl Freeze for Pointer
impl RefUnwindSafe for Pointer
impl Send for Pointer
impl Sync for Pointer
impl Unpin for Pointer
impl UnwindSafe for Pointer
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