[][src]Module dither::prelude

Re-exports of the most common traits and types.

Re-exports

pub use super::*;
pub use self::color::palette::Palette;
pub use self::ditherer::Dither;
pub use self::ditherer::Ditherer;

Structs

IOError
Img

Image as a flat buffer of pixels; accessible by (x, y) Index

Opt

Command-line interface & arguments. See structopt.

RGB

RGB represents a triplet of pixels (r, g, b). RGB<u8>, RGB<i8>, RGB<i16>, and RGB<u16> are all one-word COPY types.

Enums

Error

Handling of runtime errors in main.

Type Definitions

Result

Result type for self::Error