pub enum SpatialRelation {
Intersects,
Disjoint,
Within,
Contains,
}
Expand description
Relation between coordinates
Variants§
Intersects
Return all documents whose shape
field intersects the query geometry
Disjoint
Return all documents whose shape
field has nothing in common with the
query geometry.
Within
Return all documents whose shape
field is within the query geometry.
Contains
Return all documents whose shape
field contains the query geometry.
Trait Implementations§
Source§impl Clone for SpatialRelation
impl Clone for SpatialRelation
Source§fn clone(&self) -> SpatialRelation
fn clone(&self) -> SpatialRelation
Returns a copy 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 SpatialRelation
impl Debug for SpatialRelation
Source§impl Default for SpatialRelation
impl Default for SpatialRelation
Source§impl Ord for SpatialRelation
impl Ord for SpatialRelation
Source§fn cmp(&self, other: &SpatialRelation) -> Ordering
fn cmp(&self, other: &SpatialRelation) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SpatialRelation
impl PartialEq for SpatialRelation
Source§impl PartialOrd for SpatialRelation
impl PartialOrd for SpatialRelation
Source§impl Serialize for SpatialRelation
impl Serialize for SpatialRelation
impl Copy for SpatialRelation
impl Eq for SpatialRelation
impl StructuralPartialEq for SpatialRelation
Auto Trait Implementations§
impl Freeze for SpatialRelation
impl RefUnwindSafe for SpatialRelation
impl Send for SpatialRelation
impl Sync for SpatialRelation
impl Unpin for SpatialRelation
impl UnwindSafe for SpatialRelation
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