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

create new surface

Ask the compositor to create a new surface.

create new region

Ask the compositor to create a new region.

Implementors