Trait typer::ImgBufferTrait
source · pub trait ImgBufferTrait {
fn get_pixel_mut(&mut self, x: usize, y: usize) -> &mut [u8] ⓘ;
fn width(&self) -> usize;
fn height(&self) -> usize;
fn clear(&mut self, color: &[u8; 4]);
fn blend_pixel(&mut self, x: usize, y: usize, pixel: &[u8; 4], v: f32) { ... }
fn put_pixel(&mut self, x: usize, y: usize, pixel: &[u8; 4]) { ... }
}