Trait qrcode::render::BlankAndWhitePixel [] [src]

pub trait BlankAndWhitePixel: Pixel {
    fn black_color() -> Self;
    fn white_color() -> Self;
}

A pixel which can support black and white colors.

Required Methods

fn black_color() -> Self

fn white_color() -> Self

Implementors