Struct wayland_client::core::subcompositor::SubCompositor [] [src]

pub struct SubCompositor {
    // some fields omitted
}

A wayland subcompositor.

This is the back-end used to create subsurfaces.

Like other global objects, this handle can be cloned.

Methods

impl SubCompositor

fn get_subsurface<S>(&self, surface: S, parent: &WSurface) -> SubSurface<S> where S: Surface

Maps surface as a subsurface of parent.

If parent is destroyed, the subsurface will not be displayed any more.

Trait Implementations

impl Bind<Registry> for SubCompositor

fn interface() -> &'static wl_interface

unsafe fn wrap(ptr: *mut wl_subcompositor, registry: Registry) -> SubCompositor

impl FFI for SubCompositor

type Ptr = wl_subcompositor

fn ptr(&self) -> *const wl_subcompositor

unsafe fn ptr_mut(&self) -> *mut wl_subcompositor

Derived Implementations

impl Clone for SubCompositor

fn clone(&self) -> SubCompositor

fn clone_from(&mut self, source: &Self)