Struct png::OutputInfo [−][src]
pub struct OutputInfo { pub width: u32, pub height: u32, pub color_type: ColorType, pub bit_depth: BitDepth, pub line_size: usize, }
Output info
Fields
width: u32
height: u32
color_type: ColorType
bit_depth: BitDepth
line_size: usize
Implementations
impl OutputInfo
[src]
impl OutputInfo
[src]pub fn buffer_size(&self) -> usize
[src]
Returns the size needed to hold a decoded frame
Trait Implementations
impl PartialEq<OutputInfo> for OutputInfo
[src]
impl PartialEq<OutputInfo> for OutputInfo
[src]