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]

[src]

Whether this message is a destructor Read more

[src]

Construct a message of this group from its C representation

[src]

Build a C representation of this message Read more

Auto Trait Implementations

impl Send for Request

impl Sync for Request