Struct image::pnm::ArbitraryHeader[][src]

pub struct ArbitraryHeader {
    pub height: u32,
    pub width: u32,
    pub depth: u32,
    pub maxval: u32,
    pub tupltype: Option<ArbitraryTuplType>,
}

Header produced by a pam file ("Portable Arbitrary Map")

Fields

Height of the image file

Width of the image file

Number of color channels

Maximum sample value within the image

Color interpretation of image pixels

Trait Implementations

impl Clone for ArbitraryHeader
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ArbitraryHeader
[src]

Formats the value using the given formatter. Read more

impl From<ArbitraryHeader> for PNMHeader
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for ArbitraryHeader

impl Sync for ArbitraryHeader