Struct wayland_protocols::unstable::xdg_foreign::v2::client::zxdg_imported_v2::ZxdgImportedV2
source · pub struct ZxdgImportedV2(/* private fields */);
Implementations§
source§impl ZxdgImportedV2
impl ZxdgImportedV2
sourcepub fn destroy(&self)
pub fn destroy(&self)
destroy the xdg_imported object
Notify the compositor that it will no longer use the xdg_imported object. Any relationship that may have been set up will at this point be invalidated.
This is a destructor, you cannot send requests to this object any longer once this method is called.
sourcepub fn set_parent_of(&self, surface: &WlSurface)
pub fn set_parent_of(&self, surface: &WlSurface)
set as the parent of some surface
Set the imported surface as the parent of some surface of the client. The passed surface must be an xdg_toplevel equivalent, otherwise an invalid_surface protocol error is sent. Calling this function sets up a surface to surface relation with the same stacking and positioning semantics as xdg_toplevel.set_parent.
Trait Implementations§
source§impl AsRef<Proxy<ZxdgImportedV2>> for ZxdgImportedV2
impl AsRef<Proxy<ZxdgImportedV2>> for ZxdgImportedV2
source§impl Clone for ZxdgImportedV2
impl Clone for ZxdgImportedV2
source§fn clone(&self) -> ZxdgImportedV2
fn clone(&self) -> ZxdgImportedV2
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 ZxdgImportedV2
impl Debug for ZxdgImportedV2
source§impl From<Proxy<ZxdgImportedV2>> for ZxdgImportedV2
impl From<Proxy<ZxdgImportedV2>> for ZxdgImportedV2
source§impl From<ZxdgImportedV2> for Proxy<ZxdgImportedV2>
impl From<ZxdgImportedV2> for Proxy<ZxdgImportedV2>
source§fn from(value: ZxdgImportedV2) -> Self
fn from(value: ZxdgImportedV2) -> Self
Converts to this type from the input type.
source§impl Interface for ZxdgImportedV2
impl Interface for ZxdgImportedV2
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 ZxdgImportedV2
impl PartialEq for ZxdgImportedV2
source§fn eq(&self, other: &ZxdgImportedV2) -> bool
fn eq(&self, other: &ZxdgImportedV2) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ZxdgImportedV2
impl StructuralEq for ZxdgImportedV2
impl StructuralPartialEq for ZxdgImportedV2
Auto Trait Implementations§
impl !RefUnwindSafe for ZxdgImportedV2
impl Send for ZxdgImportedV2
impl Sync for ZxdgImportedV2
impl Unpin for ZxdgImportedV2
impl !UnwindSafe for ZxdgImportedV2
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