pub struct WlBuffer;
Expand description
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§
Source§impl Interface for WlBuffer
impl Interface for WlBuffer
Source§const NAME: &'static str = "wl_buffer"
const NAME: &'static str = "wl_buffer"
The name of this interface. This will correspond to the ‘name’ attribute
on the ‘interface’ element in the wayland protocol XML.
Auto Trait Implementations§
impl Freeze for WlBuffer
impl RefUnwindSafe for WlBuffer
impl Send for WlBuffer
impl Sync for WlBuffer
impl Unpin for WlBuffer
impl UnwindSafe for WlBuffer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more