[−][src]Struct wayland_protocols::unstable::xdg_foreign::v2::client::zxdg_exporter_v2::ZxdgExporterV2
Implementations
impl ZxdgExporterV2
[src]
pub fn destroy(&self)
[src]
destroy the xdg_exporter object
Notify the compositor that the xdg_exporter object will no longer be used.
This is a destructor, you cannot send requests to this object any longer once this method is called.
pub fn export_toplevel(&self, surface: &WlSurface) -> Main<ZxdgExportedV2>
[src]
export a toplevel surface
The export_toplevel request exports the passed surface so that it can later be imported via xdg_importer. When called, a new xdg_exported object will be created and xdg_exported.handle will be sent immediately. See the corresponding interface and event for details.
A surface may be exported multiple times, and each exported handle may be used to create a xdg_imported multiple times. Only xdg_toplevel equivalent surfaces may be exported.
Trait Implementations
impl AsRef<Proxy<ZxdgExporterV2>> for ZxdgExporterV2
[src]
impl Clone for ZxdgExporterV2
[src]
fn clone(&self) -> ZxdgExporterV2
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ZxdgExporterV2
[src]
impl Eq for ZxdgExporterV2
[src]
impl From<Proxy<ZxdgExporterV2>> for ZxdgExporterV2
[src]
impl From<ZxdgExporterV2> for Proxy<ZxdgExporterV2>
[src]
fn from(value: ZxdgExporterV2) -> Self
[src]
impl Interface for ZxdgExporterV2
[src]
type Request = Request
Set of requests associated to this interface Read more
type Event = Event
Set of events associated to this interface Read more
const NAME: &'static str
[src]
const VERSION: u32
[src]
fn c_interface() -> *const wl_interface
[src]
impl PartialEq<ZxdgExporterV2> for ZxdgExporterV2
[src]
fn eq(&self, other: &ZxdgExporterV2) -> bool
[src]
fn ne(&self, other: &ZxdgExporterV2) -> bool
[src]
impl StructuralEq for ZxdgExporterV2
[src]
impl StructuralPartialEq for ZxdgExporterV2
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ZxdgExporterV2
impl Send for ZxdgExporterV2
impl Sync for ZxdgExporterV2
impl Unpin for ZxdgExporterV2
impl !UnwindSafe for ZxdgExporterV2
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Downcast for T where
T: Any,
T: Any,
fn into_any(self: Box<T>) -> Box<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn as_any(&self) -> &(dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
impl<T> DowncastSync for T where
T: Send + Sync + Any,
T: Send + Sync + Any,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,