Struct framing::video::Grayscale [] [src]

pub struct Grayscale(pub u8);

A pixel that is one byte long and has just an intensity channel.

Trait Implementations

impl Clone for Grayscale
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Grayscale
[src]

impl Debug for Grayscale
[src]

Formats the value using the given formatter.

impl Eq for Grayscale
[src]

impl PartialEq for Grayscale
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Hash for Grayscale
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl ByteChannels for Grayscale
[src]

The type that represents the collection of channels. Read more

The number of channels in each pixel. Read more

impl From<[u8; 1]> for Grayscale
[src]

Performs the conversion.

impl From<Rgba> for Grayscale
[src]

Performs the conversion.