Trait smithay_client_toolkit::shm::ShmHandling
source · [−]pub trait ShmHandling {
fn shm_formats(&self) -> Vec<Format>;
}
Expand description
An interface trait to forward the shm handler capability
You need to implement this trait for you environment struct, by
delegating it to its ShmHandler
field in order to get the
associated methods on your Environment
.
Required methods
fn shm_formats(&self) -> Vec<Format>
fn shm_formats(&self) -> Vec<Format>
Access the list of SHM formats supported by the compositor