pub enum StyleRasterDemEncoding {
Mapbox,
Terrarium,
Unknown(u32),
}Expand description
How a raster DEM tile encodes elevation in its colors.
See mln_style_raster_dem_encoding in the
C API reference.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for StyleRasterDemEncoding
impl Clone for StyleRasterDemEncoding
Source§fn clone(&self) -> StyleRasterDemEncoding
fn clone(&self) -> StyleRasterDemEncoding
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 moreimpl Copy for StyleRasterDemEncoding
Source§impl Debug for StyleRasterDemEncoding
impl Debug for StyleRasterDemEncoding
Source§impl Default for StyleRasterDemEncoding
impl Default for StyleRasterDemEncoding
impl Eq for StyleRasterDemEncoding
Source§impl Hash for StyleRasterDemEncoding
impl Hash for StyleRasterDemEncoding
Source§impl PartialEq for StyleRasterDemEncoding
impl PartialEq for StyleRasterDemEncoding
impl StructuralPartialEq for StyleRasterDemEncoding
Auto Trait Implementations§
impl Freeze for StyleRasterDemEncoding
impl RefUnwindSafe for StyleRasterDemEncoding
impl Send for StyleRasterDemEncoding
impl Sync for StyleRasterDemEncoding
impl Unpin for StyleRasterDemEncoding
impl UnsafeUnpin for StyleRasterDemEncoding
impl UnwindSafe for StyleRasterDemEncoding
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,
impl<T> ErasedDestructor for Twhere
T: 'static,
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