Struct wayland_protocols::unstable::pointer_constraints::v1::client::zwp_confined_pointer_v1::ZwpConfinedPointerV1 [−][src]
pub struct ZwpConfinedPointerV1(_);
Implementations
destroy the confined pointer object
Destroy the confined pointer object. If applicable, the compositor will unconfine the pointer.
This is a destructor, you cannot send requests to this object any longer once this method is called.
set a new confine region
Set a new region used to confine the pointer.
The new confine region is double-buffered. The new confine region will only take effect when the associated surface gets its pending state applied. See wl_surface.commit for details.
If the confinement is active when the new confinement region is applied and the pointer ends up outside of newly applied region, the pointer may warped to a position within the new confinement region. If warped, a wl_pointer.motion event will be emitted, but no wp_relative_pointer.relative_motion event.
The compositor may also, instead of using the new region, unconfine the pointer.
For details about the confine region, see wp_confined_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 ZwpConfinedPointerV1
impl Send for ZwpConfinedPointerV1
impl Sync for ZwpConfinedPointerV1
impl Unpin for ZwpConfinedPointerV1
impl !UnwindSafe for ZwpConfinedPointerV1
Blanket Implementations
Mutably borrows from an owned value. Read more