[][src]Struct ccitt_t4_t6::bit_iter::BitWriter

pub struct BitWriter { /* fields omitted */ }

A bitwise writer

Implementations

impl BitWriter[src]

pub fn new() -> Self[src]

Creates a new instance

pub fn _with_capacity(capacity: usize) -> Self[src]

Creates a new instance with the given capacity of bits

pub fn write(&mut self, b: bool)[src]

Write a single bit

pub fn write_bits(&mut self, val: usize, off: u8)[src]

Write {off} bits of {val}

pub fn flush(&mut self)[src]

flush the output buffer

pub fn done(self) -> Vec<u8>[src]

Flush and return the buffer

Trait Implementations

impl Debug for BitWriter[src]

impl Default for BitWriter[src]

impl Store for BitWriter[src]

type Row = Vec<Color>

The type of scanline

Auto Trait Implementations

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.