Struct Configuration

pub struct Configuration { /* private fields */ }

Describes the static parameters for creating a decoder.

Implementations

impl Configuration

fn new(order: BitOrder, size: u8) -> Self

Create a configuration to decode with the specified bit order and symbol size.

Panics

The size needs to be in the interval 2..=12.

fn with_tiff_size_switch(order: BitOrder, size: u8) -> Self

Create a configuration for a TIFF compatible decoder.

Panics

The size needs to be in the interval 2..=12.

fn build(self) -> Encoder

Create 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

Auto Trait Implementations

impl Freeze for Configuration

impl RefUnwindSafe for Configuration

impl Send for Configuration

impl Sync for Configuration

impl Unpin for Configuration

impl UnsafeUnpin for Configuration

impl UnwindSafe for Configuration

Blanket Implementations

impl<T> Any for Configuration where T: 'static + ?Sized,

impl<T> Borrow<T> for Configuration where T: ?Sized,

impl<T> BorrowMut<T> for Configuration where T: ?Sized,

impl<T> CloneToUninit for Configuration where T: Clone,

impl<T> From<T> for Configuration

impl<T> ToOwned for Configuration where T: Clone,

impl<T, U> Into<U> for Configuration where U: From<T>,

impl<T, U> TryFrom<U> for Configuration where U: Into<T>,

impl<T, U> TryInto<U> for Configuration where U: TryFrom<T>,