Struct Configuration
pub struct Configuration { /* private fields */ }
Describes the static parameters for creating a decoder.
Implementations
impl Configuration
fn new(order: BitOrder, size: u8) -> SelfCreate a configuration to decode with the specified bit order and symbol size.
Panics
The
sizeneeds to be in the interval2..=12.fn with_tiff_size_switch(order: BitOrder, size: u8) -> SelfCreate a configuration for a TIFF compatible decoder.
Panics
The
sizeneeds to be in the interval2..=12.fn build(self) -> EncoderCreate a new decoder with the define configuration.
Trait Implementations
impl Clone for Configuration
fn clone(&self) -> Self
impl Debug for Configuration
fn fmt(&self, f: &mut Formatter<'_>) -> Result