pub trait PixelBufferCursorExt {
// Required methods
fn seek_to_pixel(
&mut self,
x: usize,
y: usize,
bytes_per_row: usize,
) -> Result<u64>;
fn read_pixel(&mut self) -> Result<[u8; 4]>;
}Available on crate feature
cv only.Expand description
Extension trait for io::Cursor to add pixel buffer specific operations
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".