Struct spng::OutputInfo [−][src]
pub struct OutputInfo {
pub width: u32,
pub height: u32,
pub color_type: ColorType,
pub bit_depth: BitDepth,
pub buffer_size: usize,
}
Expand description
Decoded output 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
buffer_size: usize
The minimum buffer size required for the decoded pixel output
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for OutputInfo
impl Send for OutputInfo
impl Sync for OutputInfo
impl Unpin for OutputInfo
impl UnwindSafe for OutputInfo
Blanket Implementations
Mutably borrows from an owned value. Read more