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>,
}Expand description
Header produced by a pam file (“Portable Arbitrary Map”)
Fields
height: u32Height of the image file
width: u32Width of the image file
depth: u32Number of color channels
maxval: u32Maximum 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