[][src]Trait wayland_client::protocol::wl_compositor::RequestsTrait

pub trait RequestsTrait {
    fn create_surface<F>(&self, implementor: F) -> Result<Proxy<WlSurface>, ()>
    where
        F: FnOnce(NewProxy<WlSurface>) -> Proxy<WlSurface>
;
fn create_region<F>(&self, implementor: F) -> Result<Proxy<WlRegion>, ()>
    where
        F: FnOnce(NewProxy<WlRegion>) -> Proxy<WlRegion>
; }

Required methods

fn create_surface<F>(&self, implementor: F) -> Result<Proxy<WlSurface>, ()> where
    F: FnOnce(NewProxy<WlSurface>) -> Proxy<WlSurface>, 

create new surface

Ask the compositor to create a new surface.

fn create_region<F>(&self, implementor: F) -> Result<Proxy<WlRegion>, ()> where
    F: FnOnce(NewProxy<WlRegion>) -> Proxy<WlRegion>, 

create new region

Ask the compositor to create a new region.

Loading content...

Implementors

impl RequestsTrait for Proxy<WlCompositor>[src]

Loading content...