Struct slippy_map_tiles::ModTileMetatile
[−]
[src]
pub struct ModTileMetatile { /* fields omitted */ }Metatiles as found by mod_tile, always 8x8
Methods
impl ModTileMetatile[src]
fn new(zoom: u8, x: u32, y: u32) -> Option<Self>[src]
fn path<T: Display>(&self, ext: T) -> String[src]
Returns the mod_tile path for storing this metatile
fn x(&self) -> u32[src]
X value of this metatile
fn y(&self) -> u32[src]
Y value of metatile
fn size(self) -> u8[src]
Y value of metatile
Trait Implementations
impl PartialEq for ModTileMetatile[src]
fn eq(&self, __arg_0: &ModTileMetatile) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ModTileMetatile) -> bool[src]
This method tests for !=.
impl Eq for ModTileMetatile[src]
impl Debug for ModTileMetatile[src]
impl Clone for ModTileMetatile[src]
fn clone(&self) -> ModTileMetatile[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more