pub struct HeatmapParams<'a> {
pub points: &'a [LonLat],
pub weights: Option<&'a [f64]>,
pub zoom: u8,
pub origin_px: (f64, f64),
pub width_px: f64,
pub height_px: f64,
pub cell_px: f64,
pub radius_px: f64,
}Expand description
Parameters for Heatmap::build.
Fields§
§points: &'a [LonLat]§weights: Option<&'a [f64]>§zoom: u8§origin_px: (f64, f64)Top-left corner of the area in pixel space.
width_px: f64§height_px: f64§cell_px: f64§radius_px: f64Trait Implementations§
Source§impl<'a> Clone for HeatmapParams<'a>
impl<'a> Clone for HeatmapParams<'a>
Auto Trait Implementations§
impl<'a> Freeze for HeatmapParams<'a>
impl<'a> RefUnwindSafe for HeatmapParams<'a>
impl<'a> Send for HeatmapParams<'a>
impl<'a> Sync for HeatmapParams<'a>
impl<'a> Unpin for HeatmapParams<'a>
impl<'a> UnsafeUnpin for HeatmapParams<'a>
impl<'a> UnwindSafe for HeatmapParams<'a>
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