Trait wayland_client::protocol::wl_compositor::RequestsTrait
source · 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>;
}