pub enum HeightmapFormat {
Terrarium,
Mapbox,
Gsi,
}Expand description
Identifies one of the supported RGB heightmap encodings, for runtime-dispatched encode/decode via the top-level functions.
Variants§
Terrarium
Mapzen / Tilezen / Stadia “Terrarium” encoding.
Mapbox
Mapbox “Terrain-RGB” encoding.
Gsi
GSI / 国土地理院 DEM tile encoding.
Implementations§
Trait Implementations§
Source§impl Clone for HeightmapFormat
impl Clone for HeightmapFormat
Source§fn clone(&self) -> HeightmapFormat
fn clone(&self) -> HeightmapFormat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HeightmapFormat
impl Debug for HeightmapFormat
Source§impl Display for HeightmapFormat
impl Display for HeightmapFormat
Source§impl FromStr for HeightmapFormat
impl FromStr for HeightmapFormat
Source§impl Hash for HeightmapFormat
impl Hash for HeightmapFormat
Source§impl PartialEq for HeightmapFormat
impl PartialEq for HeightmapFormat
Source§fn eq(&self, other: &HeightmapFormat) -> bool
fn eq(&self, other: &HeightmapFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for HeightmapFormat
impl Eq for HeightmapFormat
impl StructuralPartialEq for HeightmapFormat
Auto Trait Implementations§
impl Freeze for HeightmapFormat
impl RefUnwindSafe for HeightmapFormat
impl Send for HeightmapFormat
impl Sync for HeightmapFormat
impl Unpin for HeightmapFormat
impl UnsafeUnpin for HeightmapFormat
impl UnwindSafe for HeightmapFormat
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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