[][src]Struct ccitt_t4_t6::g42d::decode::Decoder

pub struct Decoder<S: Store> {
    pub debug: bool,
    // some fields omitted
}

The decoder

Fields

debug: bool

Whether to print debug info

Implementations

impl<S: Store> Decoder<S>[src]

pub fn new(width: usize) -> Self[src]

Create a new decoder instance

pub fn into_store(self) -> S[src]

Turn the decoder into it's result store

pub fn decode(&mut self, input: &[u8]) -> Result<(), Err>[src]

Decode some input

Auto Trait Implementations

impl<S> RefUnwindSafe for Decoder<S> where
    S: RefUnwindSafe,
    <S as Store>::Row: RefUnwindSafe

impl<S> Send for Decoder<S> where
    S: Send,
    <S as Store>::Row: Send

impl<S> Sync for Decoder<S> where
    S: Sync,
    <S as Store>::Row: Sync

impl<S> Unpin for Decoder<S> where
    S: Unpin,
    <S as Store>::Row: Unpin

impl<S> UnwindSafe for Decoder<S> where
    S: UnwindSafe,
    <S as Store>::Row: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.