pub struct DemTiles {
pub zoom: u8,
pub tiles: Vec<(TileCoord, Vec<u8>)>,
pub unpack: [f64; 4],
}Expand description
DEM tiles of one raster-dem source at the zoom MapLibre covers the view
with, and the source’s unpack vector (redFactor, greenFactor,
blueFactor, baseShift).
Fields§
§zoom: u8§tiles: Vec<(TileCoord, Vec<u8>)>§unpack: [f64; 4]Auto Trait Implementations§
impl Freeze for DemTiles
impl RefUnwindSafe for DemTiles
impl Send for DemTiles
impl Sync for DemTiles
impl Unpin for DemTiles
impl UnsafeUnpin for DemTiles
impl UnwindSafe for DemTiles
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