Struct wayland_protocols::unstable::xdg_decoration::v1::generated::client::zxdg_decoration_manager_v1::ZxdgDecorationManagerV1
source · pub struct ZxdgDecorationManagerV1(Proxy<ZxdgDecorationManagerV1>);
Tuple Fields§
§0: Proxy<ZxdgDecorationManagerV1>
Implementations§
source§impl ZxdgDecorationManagerV1
impl ZxdgDecorationManagerV1
sourcepub fn destroy(&self)
pub fn destroy(&self)
destroy the decoration manager object
Destroy the decoration manager. This doesn’t destroy objects created with the manager.
This is a destructor, you cannot send requests to this object any longer once this method is called.
sourcepub fn get_toplevel_decoration(
&self,
toplevel: &XdgToplevel
) -> Main<ZxdgToplevelDecorationV1>
pub fn get_toplevel_decoration( &self, toplevel: &XdgToplevel ) -> Main<ZxdgToplevelDecorationV1>
create a new toplevel decoration object
Create a new decoration object associated with the given toplevel.
Creating an xdg_toplevel_decoration from an xdg_toplevel which has a buffer attached or committed is a client error, and any attempts by a client to attach or manipulate a buffer prior to the first xdg_toplevel_decoration.configure event must also be treated as errors.
Trait Implementations§
source§impl Clone for ZxdgDecorationManagerV1
impl Clone for ZxdgDecorationManagerV1
source§fn clone(&self) -> ZxdgDecorationManagerV1
fn clone(&self) -> ZxdgDecorationManagerV1
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 ZxdgDecorationManagerV1
impl Debug for ZxdgDecorationManagerV1
source§impl From<ZxdgDecorationManagerV1> for Proxy<ZxdgDecorationManagerV1>
impl From<ZxdgDecorationManagerV1> for Proxy<ZxdgDecorationManagerV1>
source§fn from(value: ZxdgDecorationManagerV1) -> Self
fn from(value: ZxdgDecorationManagerV1) -> Self
Converts to this type from the input type.
source§impl Interface for ZxdgDecorationManagerV1
impl Interface for ZxdgDecorationManagerV1
source§fn c_interface() -> *const wl_interface
fn c_interface() -> *const wl_interface
Pointer to the C representation of this interface
source§impl PartialEq<ZxdgDecorationManagerV1> for ZxdgDecorationManagerV1
impl PartialEq<ZxdgDecorationManagerV1> for ZxdgDecorationManagerV1
source§fn eq(&self, other: &ZxdgDecorationManagerV1) -> bool
fn eq(&self, other: &ZxdgDecorationManagerV1) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ZxdgDecorationManagerV1
impl StructuralEq for ZxdgDecorationManagerV1
impl StructuralPartialEq for ZxdgDecorationManagerV1
Auto Trait Implementations§
impl !RefUnwindSafe for ZxdgDecorationManagerV1
impl Send for ZxdgDecorationManagerV1
impl Sync for ZxdgDecorationManagerV1
impl Unpin for ZxdgDecorationManagerV1
impl !UnwindSafe for ZxdgDecorationManagerV1
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