pub struct PreparedJpegTileJob<'i, 'o> {
pub input: PreparedJpeg<'i>,
pub out: &'o mut [u8],
pub stride: usize,
pub options: DecodeOptions,
}Expand description
One decode request for a JPEG tile already normalized by
prepare_tiff_jpeg_tile.
Fields§
§input: PreparedJpeg<'i>Decode-ready prepared JPEG bytes.
out: &'o mut [u8]Caller-owned RGB8 output buffer for this tile.
stride: usizeDistance in bytes between output rows.
options: DecodeOptionsPer-job JPEG decode options.
Auto Trait Implementations§
impl<'i, 'o> !UnwindSafe for PreparedJpegTileJob<'i, 'o>
impl<'i, 'o> Freeze for PreparedJpegTileJob<'i, 'o>
impl<'i, 'o> RefUnwindSafe for PreparedJpegTileJob<'i, 'o>
impl<'i, 'o> Send for PreparedJpegTileJob<'i, 'o>
impl<'i, 'o> Sync for PreparedJpegTileJob<'i, 'o>
impl<'i, 'o> Unpin for PreparedJpegTileJob<'i, 'o>
impl<'i, 'o> UnsafeUnpin for PreparedJpegTileJob<'i, 'o>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more