Trait simd_blit::PixelArray
source · pub trait PixelArray {
// Required methods
fn get(&self, index: usize) -> RGBA8;
fn width(&self) -> usize;
fn height(&self) -> usize;
fn length(&self) -> usize;
fn bytes_per_pixel() -> usize;
fn has_alpha() -> bool;
}Expand description
Trait for 2D-sized & indexed pixel storage