[−][src]Struct wayland_protocols::unstable::pointer_constraints::v1::client::zwp_locked_pointer_v1::ZwpLockedPointerV1
Implementations
impl ZwpLockedPointerV1
[src]
pub fn destroy(&self)
[src]
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.
pub fn set_cursor_position_hint(&self, surface_x: f64, surface_y: f64)
[src]
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.
pub fn set_region(&self, region: Option<&WlRegion>)
[src]
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
impl AsRef<Proxy<ZwpLockedPointerV1>> for ZwpLockedPointerV1
[src]
impl Clone for ZwpLockedPointerV1
[src]
fn clone(&self) -> ZwpLockedPointerV1
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Eq for ZwpLockedPointerV1
[src]
impl From<Proxy<ZwpLockedPointerV1>> for ZwpLockedPointerV1
[src]
impl From<ZwpLockedPointerV1> for Proxy<ZwpLockedPointerV1>
[src]
fn from(value: ZwpLockedPointerV1) -> Self
[src]
impl<T: EventHandler> HandledBy<T> for ZwpLockedPointerV1
[src]
impl Interface for ZwpLockedPointerV1
[src]
type Request = Request
Set of requests associated to this interface Read more
type Event = Event
Set of events associated to this interface Read more
const NAME: &'static str
[src]
const VERSION: u32
[src]
fn c_interface() -> *const wl_interface
[src]
impl PartialEq<ZwpLockedPointerV1> for ZwpLockedPointerV1
[src]
fn eq(&self, other: &ZwpLockedPointerV1) -> bool
[src]
fn ne(&self, other: &ZwpLockedPointerV1) -> bool
[src]
impl StructuralEq for ZwpLockedPointerV1
[src]
impl StructuralPartialEq for ZwpLockedPointerV1
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<M, I> HandledBy<Sink<M>> for I where
I: Interface,
M: From<(<I as Interface>::Event, I)>,
[src]
I: Interface,
M: From<(<I as Interface>::Event, I)>,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,