Struct wayland_client::protocol::wl_compositor::WlCompositor
source · pub struct WlCompositor(/* private fields */);
Implementations§
source§impl WlCompositor
impl WlCompositor
sourcepub fn create_surface(&self) -> Main<WlSurface>
pub fn create_surface(&self) -> Main<WlSurface>
create new surface
Ask the compositor to create a new surface.
sourcepub fn create_region(&self) -> Main<WlRegion>
pub fn create_region(&self) -> Main<WlRegion>
create new region
Ask the compositor to create a new region.
Trait Implementations§
source§impl AsRef<Proxy<WlCompositor>> for WlCompositor
impl AsRef<Proxy<WlCompositor>> for WlCompositor
source§impl Clone for WlCompositor
impl Clone for WlCompositor
source§fn clone(&self) -> WlCompositor
fn clone(&self) -> WlCompositor
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for WlCompositor
impl Debug for WlCompositor
source§impl From<Proxy<WlCompositor>> for WlCompositor
impl From<Proxy<WlCompositor>> for WlCompositor
source§impl From<WlCompositor> for Proxy<WlCompositor>
impl From<WlCompositor> for Proxy<WlCompositor>
source§fn from(value: WlCompositor) -> Self
fn from(value: WlCompositor) -> Self
Converts to this type from the input type.
source§impl Interface for WlCompositor
impl Interface for WlCompositor
source§fn c_interface() -> *const wl_interface
fn c_interface() -> *const wl_interface
Pointer to the C representation of this interface
source§impl PartialEq for WlCompositor
impl PartialEq for WlCompositor
source§fn eq(&self, other: &WlCompositor) -> bool
fn eq(&self, other: &WlCompositor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for WlCompositor
impl StructuralEq for WlCompositor
impl StructuralPartialEq for WlCompositor
Auto Trait Implementations§
impl !RefUnwindSafe for WlCompositor
impl Send for WlCompositor
impl Sync for WlCompositor
impl Unpin for WlCompositor
impl !UnwindSafe for WlCompositor
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more