pub enum LengthMethod {
Planar,
Haversine,
Vincenty,
}Expand description
Length calculation method
Variants§
Planar
Planar length using Cartesian coordinates (fast, for projected data)
Haversine
Geodetic length using Haversine formula (spherical Earth approximation)
Vincenty
Geodetic length using Vincenty’s formula (accurate ellipsoidal distance)
Trait Implementations§
Source§impl Clone for LengthMethod
impl Clone for LengthMethod
Source§fn clone(&self) -> LengthMethod
fn clone(&self) -> LengthMethod
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 moreSource§impl Debug for LengthMethod
impl Debug for LengthMethod
Source§impl PartialEq for LengthMethod
impl PartialEq for LengthMethod
impl Copy for LengthMethod
impl Eq for LengthMethod
impl StructuralPartialEq for LengthMethod
Auto Trait Implementations§
impl Freeze for LengthMethod
impl RefUnwindSafe for LengthMethod
impl Send for LengthMethod
impl Sync for LengthMethod
impl Unpin for LengthMethod
impl UnsafeUnpin for LengthMethod
impl UnwindSafe for LengthMethod
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