pub trait Decoder {
// Required methods
fn push_pixels(&mut self, white: bool, count: u32);
fn next_line(&mut self);
}Expand description
A decoder for CCITT images.
Required Methods§
Sourcefn push_pixels(&mut self, white: bool, count: u32)
fn push_pixels(&mut self, white: bool, count: u32)
Push a run of pixels of the same color.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".