pub enum StyleSpecLayerType {
Background,
Hillshade,
Raster,
Vector,
Fill,
Line,
Circle,
Heatmap,
FillExtrusion,
Symbol,
Model,
}Expand description
Layer kinds accepted by the JSON style spec.
Variants§
Background
Background style layer entry.
Hillshade
Hillshade style layer entry.
Raster
Raster style layer entry.
Vector
Generic vector style layer entry.
Fill
Fill style layer entry.
Line
Line style layer entry.
Circle
Circle style layer entry.
Heatmap
Heatmap style layer entry.
FillExtrusion
Fill-extrusion style layer entry.
Symbol
Symbol style layer entry.
Model
Model style layer entry.
Trait Implementations§
Source§impl Clone for StyleSpecLayerType
impl Clone for StyleSpecLayerType
Source§fn clone(&self) -> StyleSpecLayerType
fn clone(&self) -> StyleSpecLayerType
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 StyleSpecLayerType
impl Debug for StyleSpecLayerType
Source§impl<'de> Deserialize<'de> for StyleSpecLayerType
impl<'de> Deserialize<'de> for StyleSpecLayerType
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 StyleSpecLayerType
impl PartialEq for StyleSpecLayerType
Source§impl Serialize for StyleSpecLayerType
impl Serialize for StyleSpecLayerType
impl Copy for StyleSpecLayerType
impl Eq for StyleSpecLayerType
impl StructuralPartialEq for StyleSpecLayerType
Auto Trait Implementations§
impl Freeze for StyleSpecLayerType
impl RefUnwindSafe for StyleSpecLayerType
impl Send for StyleSpecLayerType
impl Sync for StyleSpecLayerType
impl Unpin for StyleSpecLayerType
impl UnsafeUnpin for StyleSpecLayerType
impl UnwindSafe for StyleSpecLayerType
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