Trait smithay_client_toolkit::shm::slot::CanvasKey

source ·
pub trait CanvasKey {
    // Required method
    fn canvas<'pool>(
        &self,
        pool: &'pool mut SlotPool,
    ) -> Option<&'pool mut [u8]>;
}
Expand description

A helper trait for SlotPool::canvas.

Required Methods§

source

fn canvas<'pool>(&self, pool: &'pool mut SlotPool) -> Option<&'pool mut [u8]>

Implementors§