pub enum LayerKind {
Background,
Hillshade,
Tile,
Vector,
Model,
Visualization,
Custom,
}Expand description
Discriminant for concrete layer types known to the engine.
Variants§
Background
Solid background layer used for frame clear colour / backdrop.
Hillshade
Terrain hillshade styling layer.
Tile
Raster tile layer (slippy-map tiles).
Vector
Vector feature layer (GeoJSON polygons, lines, points).
Model
3D model placement layer.
Visualization
Engine-owned visualization overlay layer.
This covers reusable map-coupled scientific overlays such as grid scalars, grid extrusions, instanced columns, and point clouds.
Custom
A layer type not known to the engine core.
Renderers or host applications can still downcast via as_any.
Trait Implementations§
impl Copy for LayerKind
impl Eq for LayerKind
impl StructuralPartialEq for LayerKind
Auto Trait Implementations§
impl Freeze for LayerKind
impl RefUnwindSafe for LayerKind
impl Send for LayerKind
impl Sync for LayerKind
impl Unpin for LayerKind
impl UnsafeUnpin for LayerKind
impl UnwindSafe for LayerKind
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