Struct wayland_protocols::unstable::xdg_foreign::v1::client::zxdg_importer_v1::ZxdgImporterV1
source · pub struct ZxdgImporterV1(/* private fields */);
Implementations§
source§impl ZxdgImporterV1
impl ZxdgImporterV1
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(&self, handle: String) -> Main<ZxdgImportedV1>
pub fn import(&self, handle: String) -> Main<ZxdgImportedV1>
import a surface
The import request imports a surface from any client given a handle retrieved by exporting said surface using xdg_exporter.export. 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<ZxdgImporterV1>> for ZxdgImporterV1
impl AsRef<Proxy<ZxdgImporterV1>> for ZxdgImporterV1
source§impl Clone for ZxdgImporterV1
impl Clone for ZxdgImporterV1
source§fn clone(&self) -> ZxdgImporterV1
fn clone(&self) -> ZxdgImporterV1
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 ZxdgImporterV1
impl Debug for ZxdgImporterV1
source§impl From<Proxy<ZxdgImporterV1>> for ZxdgImporterV1
impl From<Proxy<ZxdgImporterV1>> for ZxdgImporterV1
source§impl From<ZxdgImporterV1> for Proxy<ZxdgImporterV1>
impl From<ZxdgImporterV1> for Proxy<ZxdgImporterV1>
source§fn from(value: ZxdgImporterV1) -> Self
fn from(value: ZxdgImporterV1) -> Self
Converts to this type from the input type.
source§impl Interface for ZxdgImporterV1
impl Interface for ZxdgImporterV1
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 ZxdgImporterV1
impl PartialEq for ZxdgImporterV1
source§fn eq(&self, other: &ZxdgImporterV1) -> bool
fn eq(&self, other: &ZxdgImporterV1) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ZxdgImporterV1
impl StructuralEq for ZxdgImporterV1
impl StructuralPartialEq for ZxdgImporterV1
Auto Trait Implementations§
impl !RefUnwindSafe for ZxdgImporterV1
impl Send for ZxdgImporterV1
impl Sync for ZxdgImporterV1
impl Unpin for ZxdgImporterV1
impl !UnwindSafe for ZxdgImporterV1
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