Struct wayland_server::protocol::wl_shm::Implementation [] [src]

pub struct Implementation<ID> {
    pub create_pool: fn(_: &mut EventLoopHandle, _: &mut ID, _: &Client, _: &WlShm, _: WlShmPool, _: RawFd, _: i32),
}

Fields

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.

Arguments: event_queue_handle, interface_data, wl_shm, id, fd, size

Trait Implementations

impl<ID> Copy for Implementation<ID>
[src]

impl<ID> Clone for Implementation<ID>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<ID> PartialEq for Implementation<ID>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.