Struct wayland_client::core::shm::Buffer [] [src]

pub struct Buffer {
    // some fields omitted
}

A view into a memory pool.

A buffer represents a given view into a memory pool. They only serve to notify the wayland server about how the contents of the memory pool must be read. To actually modify the data, you need to directly access the object you created the memory pool from.

Trait Implementations

impl Send for Buffer

impl Sync for Buffer

impl Drop for Buffer

fn drop(&mut self)

impl FFI for Buffer

type Ptr = wl_buffer

fn ptr(&self) -> *const wl_buffer

unsafe fn ptr_mut(&self) -> *mut wl_buffer