[][src]Struct wayland_protocols::unstable::xdg_foreign::v2::client::zxdg_exporter_v2::ZxdgExporterV2

pub struct 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]

impl Debug for ZxdgExporterV2[src]

impl Eq for ZxdgExporterV2[src]

impl From<Proxy<ZxdgExporterV2>> for ZxdgExporterV2[src]

impl From<ZxdgExporterV2> for Proxy<ZxdgExporterV2>[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

impl PartialEq<ZxdgExporterV2> for ZxdgExporterV2[src]

impl StructuralEq for ZxdgExporterV2[src]

impl StructuralPartialEq for ZxdgExporterV2[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Send + Sync + Any

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.