Struct spng::Info [−][src]
pub struct Info { pub width: u32, pub height: u32, pub color_type: ColorType, pub bit_depth: BitDepth, }
Expand description
PNG image information
Fields
width: u32
The image width in pixels
height: u32
The image height in pixels
color_type: ColorType
The color channels
bit_depth: BitDepth
The per-component bit depth
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Info
impl UnwindSafe for Info
Blanket Implementations
Mutably borrows from an owned value. Read more