[][src]Trait smithay_client_toolkit::shm::ShmHandling

pub trait ShmHandling {
    fn shm_formats(&self) -> Vec<Format>;
}

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>

Access the list of SHM formats supported by the compositor

Loading content...

Implementors

impl ShmHandling for ShmHandler[src]

Loading content...