pub struct SourceTiles {
pub vector: HashMap<String, Vec<(TileCoord, i32, Vec<u8>)>>,
pub raster: HashMap<String, RasterTiles>,
pub dem: HashMap<String, DemTiles>,
}Expand description
Tiles for every tile source a style’s layers use, keyed by source id.
Vector tiles carry their world-copy wrap (see covering_tiles).
Fields§
§vector: HashMap<String, Vec<(TileCoord, i32, Vec<u8>)>>§raster: HashMap<String, RasterTiles>§dem: HashMap<String, DemTiles>raster-dem sources (hillshade layers).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SourceTiles
impl RefUnwindSafe for SourceTiles
impl Send for SourceTiles
impl Sync for SourceTiles
impl Unpin for SourceTiles
impl UnsafeUnpin for SourceTiles
impl UnwindSafe for SourceTiles
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
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