Trait wayland_client::protocol::wl_compositor::RequestsTrait [−][src]
pub trait RequestsTrait { fn create_surface(&self) -> Result<NewProxy<WlSurface>, ()>; fn create_region(&self) -> Result<NewProxy<WlRegion>, ()>; }
Required Methods
fn create_surface(&self) -> Result<NewProxy<WlSurface>, ()>
create new surface
Ask the compositor to create a new surface.
fn create_region(&self) -> Result<NewProxy<WlRegion>, ()>
create new region
Ask the compositor to create a new region.
Implementors
impl RequestsTrait for Proxy<WlCompositor>