pub struct DecodedTiff {
pub frame: TiffImage,
pub width: u32,
pub height: u32,
pub pixel_format: TiffPixelFormat,
}Expand description
Outcome of a successful decode: the image plus the resolved pixel format and dimensions (handy for tests / containers).
Identical in shape to TiffImage — kept as a distinct alias so
the historical DecodedTiff { frame, width, height, pixel_format }
shape stays available to callers.
Fields§
§frame: TiffImage§width: u32§height: u32§pixel_format: TiffPixelFormatAuto Trait Implementations§
impl Freeze for DecodedTiff
impl RefUnwindSafe for DecodedTiff
impl Send for DecodedTiff
impl Sync for DecodedTiff
impl Unpin for DecodedTiff
impl UnsafeUnpin for DecodedTiff
impl UnwindSafe for DecodedTiff
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