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

pub enum Request {
    CreatePool {
        id: Proxy<WlShmPool>,
        fd: RawFd,
        size: i32,
    },
}

Variants

create a shm pool

Create a new wl_shm_pool object.

The pool can be used to create shared memory based buffer objects. The server will mmap size bytes of the passed file descriptor, to use as backing memory for the pool.

Fields of CreatePool

Trait Implementations

impl MessageGroup for Request
[src]

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

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