Trait PixelBufferCursorExt
pub trait PixelBufferCursorExt {
// Required methods
fn seek_to_pixel(
&mut self,
x: usize,
y: usize,
bytes_per_row: usize,
) -> Result<u64, Error>;
fn read_pixel(&mut self) -> Result<[u8; 4], Error>;
}Expand description
Extension trait for io::Cursor to add pixel buffer specific operations