Struct farbfeld::Encoder [] [src]

pub struct Encoder<W: Write>(pub W);

A farbfeld encoder

Methods

impl<W: Write> Encoder<W>
[src]

Encodes a image with width, height and data into a farbfeld.

Failures

Returns a Error::NotEnoughData if the provided data slice is too short.

Trait Implementations

impl<W: Debug + Write> Debug for Encoder<W>
[src]

Formats the value using the given formatter.