Struct wayland_client::wayland::compositor::WlCompositor [] [src]

pub struct WlCompositor {
    // some fields omitted
}

the compositor singleton

A compositor. This object is a singleton global. The compositor is in charge of combining the contents of multiple surfaces into one displayable output.

Methods

impl WlCompositor

fn create_surface(&self) -> WlSurface

create new surface

Ask the compositor to create a new surface.

fn create_region(&self) -> WlRegion

create new region

Ask the compositor to create a new region.

Trait Implementations

impl Sync for WlCompositor

impl Send for WlCompositor

impl Proxy for WlCompositor

fn ptr(&self) -> *mut wl_proxy

fn interface() -> *mut wl_interface

fn interface_name() -> &'static str

fn version() -> u32

fn id(&self) -> ProxyId

unsafe fn from_ptr(ptr: *mut wl_proxy) -> WlCompositor

unsafe fn from_ptr_no_own(ptr: *mut wl_proxy) -> WlCompositor

fn set_evt_iterator(&mut self, evt: &EventIterator)

impl Debug for WlCompositor

fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>

impl Drop for WlCompositor

fn drop(&mut self)