pub trait ShmHandling {
    // Required method
    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§

source

fn shm_formats(&self) -> Vec<Format>

Access the list of SHM formats supported by the compositor

Implementors§