pub struct HeatmapStyleLayer {
pub meta: StyleLayerMeta,
pub source: StyleSourceId,
pub source_layer: Option<String>,
pub color: StyleValue<[f32; 4]>,
pub radius: StyleValue<f32>,
pub intensity: StyleValue<f32>,
}Expand description
Heatmap layer style spec.
Fields§
§meta: StyleLayerMeta§source: StyleSourceId§source_layer: Option<String>Optional source-layer name for vector-tile-like sources.
color: StyleValue<[f32; 4]>§radius: StyleValue<f32>§intensity: StyleValue<f32>Implementations§
Trait Implementations§
Source§impl Clone for HeatmapStyleLayer
impl Clone for HeatmapStyleLayer
Source§fn clone(&self) -> HeatmapStyleLayer
fn clone(&self) -> HeatmapStyleLayer
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 moreAuto Trait Implementations§
impl Freeze for HeatmapStyleLayer
impl RefUnwindSafe for HeatmapStyleLayer
impl Send for HeatmapStyleLayer
impl Sync for HeatmapStyleLayer
impl Unpin for HeatmapStyleLayer
impl UnsafeUnpin for HeatmapStyleLayer
impl UnwindSafe for HeatmapStyleLayer
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