[][src]Struct wayland_protocols::unstable::xdg_foreign::v1::client::zxdg_exporter_v1::ZxdgExporterV1

pub struct ZxdgExporterV1(_);

Implementations

impl ZxdgExporterV1[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(&self, surface: &WlSurface) -> Main<ZxdgExportedV1>[src]

export a surface

The export 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_surface surfaces may be exported.

Trait Implementations

impl AsRef<Proxy<ZxdgExporterV1>> for ZxdgExporterV1[src]

impl Clone for ZxdgExporterV1[src]

impl Debug for ZxdgExporterV1[src]

impl Eq for ZxdgExporterV1[src]

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

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

impl Interface for ZxdgExporterV1[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<ZxdgExporterV1> for ZxdgExporterV1[src]

impl StructuralEq for ZxdgExporterV1[src]

impl StructuralPartialEq for ZxdgExporterV1[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.