Struct wayland_client::core::compositor::Compositor
[−]
[src]
pub struct Compositor { // some fields omitted }
A wayland compositor.
This is the back-end that will be used for all drawing.
Like other global objects, this handle can be cloned.
Methods
impl Compositor
fn create_surface(&self) -> WSurface
Creates a new surface to draw on.
fn create_region(&self) -> Region
Creates a new region.