pub struct Tile {
pub data: Vec<u8>,
pub width: u32,
pub height: u32,
}Expand description
A tile: raw RGB data plus its (possibly partial) edge dims.
Fields§
§data: Vec<u8>Row-major RGB8 tile bytes (twth3).
width: u32Tile width (partial tiles < 16).
height: u32Tile height.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Tile
impl RefUnwindSafe for Tile
impl Send for Tile
impl Sync for Tile
impl Unpin for Tile
impl UnsafeUnpin for Tile
impl UnwindSafe for Tile
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