Skip to main content

CanvasKey

Trait 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]>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§