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
sourceimpl ShmHandler
impl ShmHandler
sourcepub fn new() -> ShmHandler
pub fn new() -> ShmHandler
Create a new ShmHandler
Trait Implementations
sourceimpl Debug for ShmHandler
impl Debug for ShmHandler
sourceimpl GlobalHandler<WlShm> for ShmHandler
impl GlobalHandler<WlShm> for ShmHandler
sourceimpl ShmHandling for ShmHandler
impl ShmHandling for ShmHandler
sourcefn 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more