Struct wayland_client::protocol::wl_subcompositor::WlSubcompositor
[−]
[src]
pub struct WlSubcompositor { /* fields omitted */ }
Methods
impl WlSubcompositor
[src]
fn destroy(&self) -> RequestResult<()>
[src]
unbind from the subcompositor interface
Informs the server that the client will not be using this protocol object anymore. This does not affect any other objects, wl_subsurface objects included.
This is a destructor, you cannot send requests to this object once this method is called.
fn get_subsurface(
&self,
surface: &WlSurface,
parent: &WlSurface
) -> RequestResult<WlSubsurface>
[src]
&self,
surface: &WlSurface,
parent: &WlSurface
) -> RequestResult<WlSubsurface>
give a surface the role sub-surface
Create a sub-surface interface for the given surface, and associate it with the given parent surface. This turns a plain wl_surface into a sub-surface.
The to-be sub-surface must not already have another role, and it must not have an existing wl_subsurface object. Otherwise a protocol error is raised.
Trait Implementations
impl Send for WlSubcompositor
[src]
impl Sync for WlSubcompositor
[src]
impl Proxy for WlSubcompositor
[src]
fn ptr(&self) -> *mut wl_proxy
[src]
Pointer to the underlying wayland proxy object
unsafe fn from_ptr_new(ptr: *mut wl_proxy) -> WlSubcompositor
[src]
Create an instance from a wayland pointer Read more
unsafe fn from_ptr_initialized(ptr: *mut wl_proxy) -> WlSubcompositor
[src]
Create an instance from a wayland pointer Read more
fn interface_ptr() -> *const wl_interface
[src]
Pointer to the interface representation
fn interface_name() -> &'static str
[src]
Internal wayland name of this interface
fn supported_version() -> u32
[src]
Max version of this interface supported
fn version(&self) -> u32
[src]
Current version of the interface this proxy is instantiated with
fn status(&self) -> Liveness
[src]
Check if the proxy behind this handle is actually still alive
fn equals(&self, other: &WlSubcompositor) -> bool
[src]
Check of two handles are actually the same wayland object Read more
fn set_user_data(&self, ptr: *mut ())
[src]
Set a pointer associated as user data on this proxy Read more
fn get_user_data(&self) -> *mut ()
[src]
Get the pointer associated as user data on this proxy Read more
unsafe fn clone_unchecked(&self) -> WlSubcompositor
[src]
Unsafely clone this proxy handle Read more
fn clone(&self) -> Option<Self> where
Self: Sized,
[src]
Self: Sized,
Clone this proxy handle Read more