pub struct TileRegionScaledDecodeJob<'i, 'o> {
pub input: &'i [u8],
pub out: &'o mut [u8],
pub stride: usize,
pub roi: Rect,
pub scale: Downscale,
}Expand description
One region+scaled tile decode request.
Fields§
§input: &'i [u8]Compressed tile bytes.
out: &'o mut [u8]Caller-owned output buffer for this tile.
stride: usizeDistance in bytes between output rows.
roi: RectRegion of interest in source-image coordinates.
scale: DownscaleDownscale factor applied to the region decode.
Auto Trait Implementations§
impl<'i, 'o> !UnwindSafe for TileRegionScaledDecodeJob<'i, 'o>
impl<'i, 'o> Freeze for TileRegionScaledDecodeJob<'i, 'o>
impl<'i, 'o> RefUnwindSafe for TileRegionScaledDecodeJob<'i, 'o>
impl<'i, 'o> Send for TileRegionScaledDecodeJob<'i, 'o>
impl<'i, 'o> Sync for TileRegionScaledDecodeJob<'i, 'o>
impl<'i, 'o> Unpin for TileRegionScaledDecodeJob<'i, 'o>
impl<'i, 'o> UnsafeUnpin for TileRegionScaledDecodeJob<'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