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§
Auto Trait Implementations§
impl Freeze for OutputInfo
impl RefUnwindSafe for OutputInfo
impl Send for OutputInfo
impl Sync for OutputInfo
impl Unpin for OutputInfo
impl UnwindSafe for OutputInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more