pub enum StyleSourceType {
Unknown,
Vector,
Raster,
RasterDem,
GeoJson,
Image,
Video,
Annotations,
CustomGeometry,
CustomVector,
Unrecognized(u32),
}Expand description
The type of a style source.
See mln_style_source_type in the
C API reference.
Variants§
Unknown
Vector
Raster
RasterDem
GeoJson
Image
Video
Annotations
CustomGeometry
CustomVector
Unrecognized(u32)
Implementations§
Trait Implementations§
Source§impl Clone for StyleSourceType
impl Clone for StyleSourceType
Source§fn clone(&self) -> StyleSourceType
fn clone(&self) -> StyleSourceType
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 StyleSourceType
Source§impl Debug for StyleSourceType
impl Debug for StyleSourceType
Source§impl Default for StyleSourceType
impl Default for StyleSourceType
impl Eq for StyleSourceType
Source§impl Hash for StyleSourceType
impl Hash for StyleSourceType
Source§impl PartialEq for StyleSourceType
impl PartialEq for StyleSourceType
impl StructuralPartialEq for StyleSourceType
Auto Trait Implementations§
impl Freeze for StyleSourceType
impl RefUnwindSafe for StyleSourceType
impl Send for StyleSourceType
impl Sync for StyleSourceType
impl Unpin for StyleSourceType
impl UnsafeUnpin for StyleSourceType
impl UnwindSafe for StyleSourceType
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