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

pub struct BiLevel;

A bi-level color map

Trait Implementations

impl ColorMap for BiLevel

type Color = Luma<u8>

fn index_of(&self, color: &Luma<u8>) -> usize

fn map_color(&self, color: &mut Luma<u8>)

Derived Implementations

impl Copy for BiLevel

impl Clone for BiLevel

fn clone(&self) -> BiLevel

1.0.0fn clone_from(&mut self, source: &Self)