Struct image::codecs::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: u32
Height of the image file
width: u32
Width of the image file
depth: u32
Number of color channels
maxval: u32
Maximum sample value within the image
tupltype: Option<ArbitraryTuplType>
Color interpretation of image pixels
Trait Implementations
impl Clone for ArbitraryHeader
[src]
impl Clone for ArbitraryHeader
[src]fn clone(&self) -> ArbitraryHeader
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl From<ArbitraryHeader> for PnmHeader
[src]
impl From<ArbitraryHeader> for PnmHeader
[src]