[][src]Enum lzw::Bits

pub enum Bits {
    Some(usizeu16),
    None(usize),
}

Containes either the consumed bytes and reconstructed bits or only the consumed bytes if the supplied buffer was not bit enough

Variants

Some(usizeu16)

Consumed bytes, reconstructed bits

None(usize)

Consumed bytes

Auto Trait Implementations

impl Send for Bits

impl Unpin for Bits

impl Sync for Bits

impl UnwindSafe for Bits

impl RefUnwindSafe for Bits

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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