[][src]Enum wayland_server::protocol::wl_compositor::Request

pub enum Request {
    CreateSurface {
        id: NewResource<WlSurface>,
    },
    CreateRegion {
        id: NewResource<WlRegion>,
    },
}

Variants

CreateSurface

create new surface

Ask the compositor to create a new surface.

Fields of CreateSurface

id: NewResource<WlSurface>
CreateRegion

create new region

Ask the compositor to create a new region.

Fields of CreateRegion

id: NewResource<WlRegion>

Trait Implementations

impl MessageGroup for Request[src]

type Map = ResourceMap

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 !Send for Request

impl !Sync for Request

Blanket Implementations

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.

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

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

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

impl<T> Downcast for T where
    T: Any
[src]