use crate::layer::{LayerStyle, LayerTypeInfo, NoProperties, SourceKind, StyleLayerType};
use crate::layers::color_relief_layer_properties::{self, ColorReliefPaintProperties};
use crate::property::table::{PropertyTable, PropertyVisitor};
pub struct ColorRelief;
impl StyleLayerType for ColorRelief {
const INFO: LayerTypeInfo = LayerTypeInfo { name: "color-relief", source: SourceKind::RasterDem, from_json: true };
const PROPERTIES: &'static PropertyTable = &color_relief_layer_properties::PROPERTIES;
type LayoutProperties = NoProperties;
type PaintProperties = ColorReliefPaintProperties::Transitionable;
type Extra = ();
fn visit_property<V: PropertyVisitor<LayerStyle<Self>>>(slot: usize, visitor: V) -> Option<V::Output> {
color_relief_layer_properties::visit(slot, visitor)
}
}