Struct wayland_client::wayland::shm::WlBuffer
[−]
[src]
pub struct WlBuffer { // some fields omitted }
content for a wl_surface
A buffer provides the content for a wl_surface. Buffers are created through factory interfaces such as wl_drm, wl_shm or similar. It has a width and a height and can be attached to a wl_surface, but the mechanism by which a client provides and updates the contents is defined by the buffer factory interface.
Trait Implementations
impl Sync for WlBuffer
[src]
impl Send for WlBuffer
[src]
impl Proxy for WlBuffer
[src]
fn ptr(&self) -> *mut wl_proxy
fn interface() -> *mut wl_interface
fn interface_name() -> &'static str
The internal name of this interface, as advertized by the registry if it is a global.
fn version() -> u32
The maximum version of this interface handled by the library.
fn id(&self) -> ProxyId
Get the id of this proxy
fn set_event_iterator(&mut self, evt: &EventIterator)
Set the event iterator associated to this proxy
impl Debug for WlBuffer
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.