pub(crate) trait AsTile<T: Pixel> {
    // Required methods
    fn as_tile(&self) -> Tile<'_, T>;
    fn as_tile_mut(&mut self) -> TileMut<'_, T>;
}Expand description
Public Trait for new Tile of a frame
pub(crate) trait AsTile<T: Pixel> {
    // Required methods
    fn as_tile(&self) -> Tile<'_, T>;
    fn as_tile_mut(&mut self) -> TileMut<'_, T>;
}Public Trait for new Tile of a frame