Struct image::pnm::ArbitraryHeader [−][src]
pub struct ArbitraryHeader { pub height: u32, pub width: u32, pub depth: u32, pub maxval: u32, pub tupltype: Option<ArbitraryTuplType>, }
Expand description
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
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ArbitraryHeader
impl Send for ArbitraryHeader
impl Sync for ArbitraryHeader
impl Unpin for ArbitraryHeader
impl UnwindSafe for ArbitraryHeader
Blanket Implementations
Mutably borrows from an owned value. Read more