imageproc::definitions

Trait HasWhite

Source
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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so 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§