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
impl<S: Primitive + 'static> BlankAndWhitePixel for Rgb<S>
impl<S: Primitive + 'static> BlankAndWhitePixel for Rgba<S>
impl<S: Primitive + 'static> BlankAndWhitePixel for Luma<S>
impl<S: Primitive + 'static> BlankAndWhitePixel for LumaA<S>