pub struct TileJob {
pub tile_row: u32,
pub tile_col: u32,
pub tile_data: Vec<u8>,
pub tile_offset: (u32, u32),
pub tile_size: (u32, u32),
}Expand description
A single tile extracted from a frame, ready for independent decoding.
Fields§
§tile_row: u32Tile row index (0-based, top to bottom).
tile_col: u32Tile column index (0-based, left to right).
tile_data: Vec<u8>Raw tile data (luma bytes for this tile region).
tile_offset: (u32, u32)Pixel offset of this tile’s top-left corner in the frame: (x, y).
tile_size: (u32, u32)Pixel dimensions of this tile: (width, height).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TileJob
impl RefUnwindSafe for TileJob
impl Send for TileJob
impl Sync for TileJob
impl Unpin for TileJob
impl UnsafeUnpin for TileJob
impl UnwindSafe for TileJob
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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