pub struct SpatialPoint {
pub lng: f64,
pub lat: f64,
}Expand description
Builder returned by crate::point for assembling a spatial
filter. Holds nothing but the lat/lng pair until a comparator is
chained.
Fields§
§lng: f64§lat: f64Trait Implementations§
Source§impl Clone for SpatialPoint
impl Clone for SpatialPoint
Source§fn clone(&self) -> SpatialPoint
fn clone(&self) -> SpatialPoint
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 moreSource§impl Debug for SpatialPoint
impl Debug for SpatialPoint
Source§impl PartialEq for SpatialPoint
impl PartialEq for SpatialPoint
Source§fn eq(&self, other: &SpatialPoint) -> bool
fn eq(&self, other: &SpatialPoint) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SpatialPoint
impl StructuralPartialEq for SpatialPoint
Auto Trait Implementations§
impl Freeze for SpatialPoint
impl RefUnwindSafe for SpatialPoint
impl Send for SpatialPoint
impl Sync for SpatialPoint
impl Unpin for SpatialPoint
impl UnsafeUnpin for SpatialPoint
impl UnwindSafe for SpatialPoint
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