Struct wayland_protocols::unstable::xdg_foreign::v1::client::zxdg_imported_v1::ZxdgImportedV1
source · pub struct ZxdgImportedV1(/* private fields */);
Implementations§
source§impl ZxdgImportedV1
impl ZxdgImportedV1
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 a toplevel xdg_surface. Calling this function sets up a surface to surface relation with the same stacking and positioning semantics as xdg_surface.set_parent.
Trait Implementations§
source§impl AsRef<Proxy<ZxdgImportedV1>> for ZxdgImportedV1
impl AsRef<Proxy<ZxdgImportedV1>> for ZxdgImportedV1
source§impl Clone for ZxdgImportedV1
impl Clone for ZxdgImportedV1
source§fn clone(&self) -> ZxdgImportedV1
fn clone(&self) -> ZxdgImportedV1
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 ZxdgImportedV1
impl Debug for ZxdgImportedV1
source§impl From<Proxy<ZxdgImportedV1>> for ZxdgImportedV1
impl From<Proxy<ZxdgImportedV1>> for ZxdgImportedV1
source§impl From<ZxdgImportedV1> for Proxy<ZxdgImportedV1>
impl From<ZxdgImportedV1> for Proxy<ZxdgImportedV1>
source§fn from(value: ZxdgImportedV1) -> Self
fn from(value: ZxdgImportedV1) -> Self
Converts to this type from the input type.
source§impl Interface for ZxdgImportedV1
impl Interface for ZxdgImportedV1
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 ZxdgImportedV1
impl PartialEq for ZxdgImportedV1
source§fn eq(&self, other: &ZxdgImportedV1) -> bool
fn eq(&self, other: &ZxdgImportedV1) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ZxdgImportedV1
impl StructuralEq for ZxdgImportedV1
impl StructuralPartialEq for ZxdgImportedV1
Auto Trait Implementations§
impl !RefUnwindSafe for ZxdgImportedV1
impl Send for ZxdgImportedV1
impl Sync for ZxdgImportedV1
impl Unpin for ZxdgImportedV1
impl !UnwindSafe for ZxdgImportedV1
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