Struct smithay_client_toolkit::shm::ShmHandler
source · pub struct ShmHandler { /* private fields */ }
Expand description
A handler for the wl_shm
global
This handler is automatically included in the
default_environment!
.
Implementations§
source§impl ShmHandler
impl ShmHandler
sourcepub fn new() -> ShmHandler
pub fn new() -> ShmHandler
Create a new ShmHandler
Trait Implementations§
source§impl Debug for ShmHandler
impl Debug for ShmHandler
source§impl GlobalHandler<WlShm> for ShmHandler
impl GlobalHandler<WlShm> for ShmHandler
source§impl ShmHandling for ShmHandler
impl ShmHandling for ShmHandler
source§fn shm_formats(&self) -> Vec<Format>
fn shm_formats(&self) -> Vec<Format>
Access the list of SHM formats supported by the compositor
Auto Trait Implementations§
impl !RefUnwindSafe for ShmHandler
impl !Send for ShmHandler
impl !Sync for ShmHandler
impl Unpin for ShmHandler
impl !UnwindSafe for ShmHandler
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