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

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

Variants

create new surface

Ask the compositor to create a new surface.

Fields of CreateSurface

create new region

Ask the compositor to create a new region.

Fields of CreateRegion

Trait Implementations

impl MessageGroup for Request
[src]

MESSAGES: &'static [MessageDesc] = &[super::MessageDesc{name: "create_surface",
                     since: 1,
                     signature: &[super::ArgumentType::NewId],},
  super::MessageDesc{name: "create_region",
                     since: 1,
                     signature: &[super::ArgumentType::NewId],}]

Wire representation of this MessageGroup

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

Whether this message is a destructor Read more

Retrieve the child Object associated with this message if any

Construct a message from its raw representation

Turn this message into its raw representation

Auto Trait Implementations

impl !Send for Request

impl !Sync for Request