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_pool: fn(_: &mut EventLoopHandle, _: &mut ID, _: &Client, _: &WlShm, _: WlShmPool, _: RawFd, _: i32)
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]
fn clone(&self) -> Implementation<ID>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more