Struct wayland_protocols::unstable::pointer_constraints::v1::client::zwp_locked_pointer_v1::ZwpLockedPointerV1 [−][src]
pub struct ZwpLockedPointerV1(_);
Implementations
destroy the locked pointer object
Destroy the locked pointer object. If applicable, the compositor will unlock the pointer.
This is a destructor, you cannot send requests to this object any longer once this method is called.
set the pointer cursor position hint
Set the cursor position hint relative to the top left corner of the surface.
If the client is drawing its own cursor, it should update the position hint to the position of its own cursor. A compositor may use this information to warp the pointer upon unlock in order to avoid pointer jumps.
The cursor position hint is double buffered. The new hint will only take effect when the associated surface gets it pending state applied. See wl_surface.commit for details.
set a new lock region
Set a new region used to lock the pointer.
The new lock region is double-buffered. The new lock region will only take effect when the associated surface gets its pending state applied. See wl_surface.commit for details.
For details about the lock region, see wp_locked_pointer.
Trait Implementations
Performs the conversion.
Pointer to the C representation of this interface
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl !RefUnwindSafe for ZwpLockedPointerV1
impl Send for ZwpLockedPointerV1
impl Sync for ZwpLockedPointerV1
impl Unpin for ZwpLockedPointerV1
impl !UnwindSafe for ZwpLockedPointerV1
Blanket Implementations
Mutably borrows from an owned value. Read more