Skip to main content

Decoder

Trait Decoder 

Source
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§

Source

fn push_pixels(&mut self, white: bool, count: u32)

Push a run of pixels of the same color.

Source

fn next_line(&mut self)

Called when a row has been completed.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§