pub struct WlShm;
Expand description
shared memory support
A singleton global object that provides support for shared memory.
Clients can create wl_shm_pool objects using the create_pool request.
At connection setup time, the wl_shm object emits one or more format events to inform clients about the valid pixel formats that can be used for buffers.
Trait Implementations§
Source§impl Interface for WlShm
impl Interface for WlShm
Source§const NAME: &'static str = "wl_shm"
const NAME: &'static str = "wl_shm"
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 WlShm
impl RefUnwindSafe for WlShm
impl Send for WlShm
impl Sync for WlShm
impl Unpin for WlShm
impl UnwindSafe for WlShm
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