pub enum StyleSpecSourceType {
Raster,
RasterDem,
GeoJson,
Vector,
Image,
Video,
Canvas,
Model,
}Expand description
Source kinds accepted by the JSON style spec.
Variants§
Raster
Raster tile source.
RasterDem
Raster DEM / terrain source.
GeoJson
GeoJSON source.
Vector
Vector-tile-like source.
Image
Image source.
Video
Video source.
Canvas
Canvas source.
Model
Model source.
Trait Implementations§
Source§impl Clone for StyleSpecSourceType
impl Clone for StyleSpecSourceType
Source§fn clone(&self) -> StyleSpecSourceType
fn clone(&self) -> StyleSpecSourceType
Returns a duplicate of the value. Read more
1.0.0 · 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 StyleSpecSourceType
impl Debug for StyleSpecSourceType
Source§impl<'de> Deserialize<'de> for StyleSpecSourceType
impl<'de> Deserialize<'de> for StyleSpecSourceType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for StyleSpecSourceType
impl PartialEq for StyleSpecSourceType
Source§impl Serialize for StyleSpecSourceType
impl Serialize for StyleSpecSourceType
impl Copy for StyleSpecSourceType
impl Eq for StyleSpecSourceType
impl StructuralPartialEq for StyleSpecSourceType
Auto Trait Implementations§
impl Freeze for StyleSpecSourceType
impl RefUnwindSafe for StyleSpecSourceType
impl Send for StyleSpecSourceType
impl Sync for StyleSpecSourceType
impl Unpin for StyleSpecSourceType
impl UnsafeUnpin for StyleSpecSourceType
impl UnwindSafe for StyleSpecSourceType
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