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

pub enum Request {
    GetShellSurface {
        id: NewResource<WlShellSurface>,
        surface: Resource<WlSurface>,
    },
}

Variants

create a shell surface from a surface

Create a shell surface for an existing surface. This gives the wl_surface the role of a shell surface. If the wl_surface already has another role, it raises a protocol error.

Only one shell surface can be associated with a given surface.

Fields of GetShellSurface

Trait Implementations

impl MessageGroup for Request
[src]

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

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