Trait AsTile

Source
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

Required Methods§

Source

fn as_tile(&self) -> Tile<'_, T>

Source

fn as_tile_mut(&mut self) -> TileMut<'_, T>

Implementors§

Source§

impl<T: Pixel> AsTile<T> for Frame<T>