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

pub enum Request {
    GetPointer {
        id: NewResource<WlPointer>,
    },
    GetKeyboard {
        id: NewResource<WlKeyboard>,
    },
    GetTouch {
        id: NewResource<WlTouch>,
    },
    Release,
}

Variants

return pointer object

The ID provided will be initialized to the wl_pointer interface for this seat.

This request only takes effect if the seat has the pointer capability, or has had the pointer capability in the past. It is a protocol violation to issue this request on a seat that has never had the pointer capability.

Fields of GetPointer

return keyboard object

The ID provided will be initialized to the wl_keyboard interface for this seat.

This request only takes effect if the seat has the keyboard capability, or has had the keyboard capability in the past. It is a protocol violation to issue this request on a seat that has never had the keyboard capability.

Fields of GetKeyboard

return touch object

The ID provided will be initialized to the wl_touch interface for this seat.

This request only takes effect if the seat has the touch capability, or has had the touch capability in the past. It is a protocol violation to issue this request on a seat that has never had the touch capability.

Fields of GetTouch

release the seat object

Using this request a client can tell the server that it is not going to use the seat object anymore.

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

Only available since version 5 of the interface

Trait Implementations

impl MessageGroup for Request
[src]

MESSAGES: &'static [MessageDesc] = &[super::MessageDesc{name: "get_pointer",
                     since: 1,
                     signature: &[super::ArgumentType::NewId],},
  super::MessageDesc{name: "get_keyboard",
                     since: 1,
                     signature: &[super::ArgumentType::NewId],},
  super::MessageDesc{name: "get_touch",
                     since: 1,
                     signature: &[super::ArgumentType::NewId],},
  super::MessageDesc{name: "release", since: 5, signature: &[],}]

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