pub struct ClusterData { /* private fields */ }
Implementations§
Source§impl ClusterData
impl ClusterData
Sourcepub fn new_geographic(lon: f64, lat: f64, source_id: ClusterId) -> Self
pub fn new_geographic(lon: f64, lat: f64, source_id: ClusterId) -> Self
Create a new object from longitude-latitude x and y values
Sourcepub fn new_projected(x: f64, y: f64, source_id: ClusterId) -> Self
pub fn new_projected(x: f64, y: f64, source_id: ClusterId) -> Self
Create a new object from spherical mercator x and y values
Trait Implementations§
Source§impl Clone for ClusterData
impl Clone for ClusterData
Source§fn clone(&self) -> ClusterData
fn clone(&self) -> ClusterData
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 ClusterData
impl RefUnwindSafe for ClusterData
impl Send for ClusterData
impl Sync for ClusterData
impl Unpin for ClusterData
impl UnwindSafe for ClusterData
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