[][src]Struct wayland_protocols::unstable::relative_pointer::v1::client::zwp_relative_pointer_manager_v1::ZwpRelativePointerManagerV1

pub struct ZwpRelativePointerManagerV1(_);

Implementations

impl ZwpRelativePointerManagerV1[src]

pub fn destroy(&self)[src]

destroy the relative pointer manager object

Used by the client to notify the server that it will no longer use this relative pointer manager object.

This is a destructor, you cannot send requests to this object any longer once this method is called.

pub fn get_relative_pointer<F>(
    &self,
    pointer: &WlPointer,
    implementor: F
) -> Result<ZwpRelativePointerV1, ()> where
    F: FnOnce(NewProxy<ZwpRelativePointerV1>) -> ZwpRelativePointerV1
[src]

get a relative pointer object

Create a relative pointer interface given a wl_pointer object. See the wp_relative_pointer interface for more details.

Trait Implementations

impl AsRef<Proxy<ZwpRelativePointerManagerV1>> for ZwpRelativePointerManagerV1[src]

impl Clone for ZwpRelativePointerManagerV1[src]

impl Eq for ZwpRelativePointerManagerV1[src]

impl From<Proxy<ZwpRelativePointerManagerV1>> for ZwpRelativePointerManagerV1[src]

impl From<ZwpRelativePointerManagerV1> for Proxy<ZwpRelativePointerManagerV1>[src]

impl<T: EventHandler> HandledBy<T> for ZwpRelativePointerManagerV1[src]

impl Interface for ZwpRelativePointerManagerV1[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

impl PartialEq<ZwpRelativePointerManagerV1> for ZwpRelativePointerManagerV1[src]

impl StructuralEq for ZwpRelativePointerManagerV1[src]

impl StructuralPartialEq for ZwpRelativePointerManagerV1[src]

Auto Trait Implementations

impl !RefUnwindSafe for ZwpRelativePointerManagerV1

impl Send for ZwpRelativePointerManagerV1

impl Sync for ZwpRelativePointerManagerV1

impl Unpin for ZwpRelativePointerManagerV1

impl !UnwindSafe for ZwpRelativePointerManagerV1

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[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]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.