pub enum DistanceType {
Arc,
Plane,
}Expand description
How geo_distance computes distance (distance_type).
Variants§
Arc
Great-circle distance (default; accurate, slower).
Plane
Planar approximation (faster, less accurate over long spans).
Trait Implementations§
Source§impl Clone for DistanceType
impl Clone for DistanceType
Source§fn clone(&self) -> DistanceType
fn clone(&self) -> DistanceType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DistanceType
Auto Trait Implementations§
impl Freeze for DistanceType
impl RefUnwindSafe for DistanceType
impl Send for DistanceType
impl Sync for DistanceType
impl Unpin for DistanceType
impl UnsafeUnpin for DistanceType
impl UnwindSafe for DistanceType
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