Enum wayland_client::protocol::wl_subcompositor::Request[][src]

pub enum Request {
    Destroy,
    GetSubsurface {
        id: Proxy<WlSubsurface>,
        surface: Proxy<WlSurface>,
        parent: Proxy<WlSurface>,
    },
}

Variants

unbind from the subcompositor interface

Informs the server that the client will not be using this protocol object anymore. This does not affect any other objects, wl_subsurface objects included.

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

give a surface the role sub-surface

Create a sub-surface interface for the given surface, and associate it with the given parent surface. This turns a plain wl_surface into a sub-surface.

The to-be sub-surface must not already have another role, and it must not have an existing wl_subsurface object. Otherwise a protocol error is raised.

Fields of GetSubsurface

Trait Implementations

impl MessageGroup for Request
[src]

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

Wire representation of this MessageGroup

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