[][src]Trait wayland_protocols::unstable::relative_pointer::v1::client::zwp_relative_pointer_manager_v1::RequestsTrait

pub trait RequestsTrait {
    fn destroy(&self);
fn get_relative_pointer<F>(
        &self,
        pointer: &Proxy<WlPointer>,
        implementor: F
    ) -> Result<Proxy<ZwpRelativePointerV1>, ()>
    where
        F: FnOnce(NewProxy<ZwpRelativePointerV1>) -> Proxy<ZwpRelativePointerV1>
; }

Required methods

fn destroy(&self)

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.

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

get a relative pointer object

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

Loading content...

Implementations on Foreign Types

impl RequestsTrait for Proxy<ZwpRelativePointerManagerV1>[src]

Loading content...

Implementors

Loading content...