Struct wayland_protocols::unstable::xdg_foreign::v2::client::zxdg_importer_v2::ZxdgImporterV2
source · pub struct ZxdgImporterV2(/* private fields */);
Implementations§
source§impl ZxdgImporterV2
impl ZxdgImporterV2
sourcepub fn destroy(&self)
pub fn destroy(&self)
destroy the xdg_importer object
Notify the compositor that the xdg_importer object will no longer be used.
This is a destructor, you cannot send requests to this object any longer once this method is called.
sourcepub fn import_toplevel(&self, handle: String) -> Main<ZxdgImportedV2>
pub fn import_toplevel(&self, handle: String) -> Main<ZxdgImportedV2>
import a toplevel surface
The import_toplevel request imports a surface from any client given a handle retrieved by exporting said surface using xdg_exporter.export_toplevel. When called, a new xdg_imported object will be created. This new object represents the imported surface, and the importing client can manipulate its relationship using it. See xdg_imported for details.
Trait Implementations§
source§impl AsRef<Proxy<ZxdgImporterV2>> for ZxdgImporterV2
impl AsRef<Proxy<ZxdgImporterV2>> for ZxdgImporterV2
source§impl Clone for ZxdgImporterV2
impl Clone for ZxdgImporterV2
source§fn clone(&self) -> ZxdgImporterV2
fn clone(&self) -> ZxdgImporterV2
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 ZxdgImporterV2
impl Debug for ZxdgImporterV2
source§impl From<Proxy<ZxdgImporterV2>> for ZxdgImporterV2
impl From<Proxy<ZxdgImporterV2>> for ZxdgImporterV2
source§impl From<ZxdgImporterV2> for Proxy<ZxdgImporterV2>
impl From<ZxdgImporterV2> for Proxy<ZxdgImporterV2>
source§fn from(value: ZxdgImporterV2) -> Self
fn from(value: ZxdgImporterV2) -> Self
Converts to this type from the input type.
source§impl Interface for ZxdgImporterV2
impl Interface for ZxdgImporterV2
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 ZxdgImporterV2
impl PartialEq for ZxdgImporterV2
source§fn eq(&self, other: &ZxdgImporterV2) -> bool
fn eq(&self, other: &ZxdgImporterV2) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ZxdgImporterV2
impl StructuralEq for ZxdgImporterV2
impl StructuralPartialEq for ZxdgImporterV2
Auto Trait Implementations§
impl !RefUnwindSafe for ZxdgImporterV2
impl Send for ZxdgImporterV2
impl Sync for ZxdgImporterV2
impl Unpin for ZxdgImporterV2
impl !UnwindSafe for ZxdgImporterV2
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