pub trait HasWhite {
    // Required method
    fn white() -> Self;
}
Expand description

Pixels which have a named White value.

Required Methods§

source

fn white() -> Self

Returns a white pixel of this type.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl HasWhite for Luma<u8>

source§

fn white() -> Self

source§

impl HasWhite for Luma<u16>

source§

fn white() -> Self

source§

impl HasWhite for LumaA<u8>

source§

fn white() -> Self

source§

impl HasWhite for LumaA<u16>

source§

fn white() -> Self

source§

impl HasWhite for Rgb<u8>

source§

fn white() -> Self

source§

impl HasWhite for Rgb<u16>

source§

fn white() -> Self

source§

impl HasWhite for Rgba<u8>

source§

fn white() -> Self

source§

impl HasWhite for Rgba<u16>

source§

fn white() -> Self

Implementors§