Struct TileIndices
pub struct TileIndices { pub location: TileCoordinates, pub size: Vec2<usize> }
Locates a rectangular section of pixels in an image.
Fields
location: TileCoordinatesIndex of the tile.
size: Vec2<usize>Pixel size of the tile.
Trait Implementations
impl Clone for TileIndices
fn clone(&self) -> Self
impl Copy for TileIndices
impl Debug for TileIndices
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for TileIndices
impl Hash for TileIndices
fn hash<__H: Hasher>(&self, state: &mut __H)
impl PartialEq for TileIndices
fn eq(&self, other: &Self) -> bool