[][src]Trait wayland_protocols::unstable::xdg_output::v1::client::zxdg_output_manager_v1::RequestsTrait

pub trait RequestsTrait {
    fn destroy(&self);
fn get_xdg_output<F>(
        &self,
        output: &Proxy<WlOutput>,
        implementor: F
    ) -> Result<Proxy<ZxdgOutputV1>, ()>
    where
        F: FnOnce(NewProxy<ZxdgOutputV1>) -> Proxy<ZxdgOutputV1>
; }

Required methods

fn destroy(&self)

destroy the xdg_output_manager object

Using this request a client can tell the server that it is not going to use the xdg_output_manager object anymore.

Any objects already created through this instance are not affected.

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

fn get_xdg_output<F>(
    &self,
    output: &Proxy<WlOutput>,
    implementor: F
) -> Result<Proxy<ZxdgOutputV1>, ()> where
    F: FnOnce(NewProxy<ZxdgOutputV1>) -> Proxy<ZxdgOutputV1>, 

create an xdg output from a wl_output

This creates a new xdg_output object for the given wl_output.

Loading content...

Implementations on Foreign Types

impl RequestsTrait for Proxy<ZxdgOutputManagerV1>[src]

Loading content...

Implementors

Loading content...