Struct luminance::pixel::PixelFormat [] [src]

pub struct PixelFormat {
    pub encoding: Type,
    pub format: Format,
}

A PixelFormat gathers a Type along with a Format.

Fields

encoding: Type format: Format

Trait Implementations

impl Debug for PixelFormat
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Copy for PixelFormat
[src]

impl Clone for PixelFormat
[src]

fn clone(&self) -> PixelFormat

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more