[][src]Enum wayland_protocols::unstable::xdg_foreign::v1::client::zxdg_exporter_v1::Request

pub enum Request {
    Destroy,
    Export {
        id: ZxdgExportedV1,
        surface: WlSurface,
    },
    // some variants omitted
}

Variants

Destroy

destroy the xdg_exporter object

Notify the compositor that the xdg_exporter object will no longer be used.

This is a destructor, once sent this object cannot be used any longer.

Export

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.

Fields of Export

id: ZxdgExportedV1surface: WlSurface

Trait Implementations

impl MessageGroup for Request[src]

type Map = ProxyMap

The wrapper type for ObjectMap allowing the mapping of Object and NewId arguments to the object map during parsing. Read more

Auto Trait Implementations

impl !RefUnwindSafe for Request

impl Send for Request

impl Sync for Request

impl Unpin for Request

impl !UnwindSafe for Request

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> From<T> for T[src]

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

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.