pub struct TileInfo {
pub index: u32,
pub data_size: Option<u32>,
pub x0: i32,
pub y0: i32,
pub x1: i32,
pub y1: i32,
pub nb_comps: u32,
pub go_on: bool,
}Expand description
Tile-part header summary returned by Decoder::read_tile_header.
Fields§
§index: u32Tile index.
data_size: Option<u32>The tile(-part) data size (always requested).
x0: i32Tile origin x.
y0: i32Tile origin y.
x1: i32Tile end x.
y1: i32Tile end y.
nb_comps: u32Number of components.
go_on: boolWhether more tile-parts follow this header.
Trait Implementations§
Auto Trait Implementations§
impl Forget for TileInfo
impl Freeze for TileInfo
impl Move for TileInfo
impl RefUnwindSafe for TileInfo
impl Send for TileInfo
impl Sync for TileInfo
impl Unpin for TileInfo
impl UnsafeUnpin for TileInfo
impl UnwindSafe for TileInfo
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