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

Access the list of SHM formats supported by the compositor

Implementors