Struct image::imageops::colorops::BiLevel [] [src]

pub struct BiLevel;

A bi-level color map

Trait Implementations

impl Clone for BiLevel
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for BiLevel
[src]

impl ColorMap for BiLevel
[src]

The color type on which the map operates on

Returns the index of the closed match of color in the color map. Read more

Maps color to the closest color in the color map.