pub enum GeoRelation {
Intersecting,
Enclosed,
Surrounding,
Disjoint,
}
Expand description
Possible relations between two geometric entities A and B.
A is GeoRelation
to B
Variants§
Intersecting
A ∩ B ≠ ∅ and neither A ⊆ B nor B ⊆ A
Enclosed
A ⊆ B
Surrounding
B ⊆ A
Disjoint
A ∩ B = ∅
Trait Implementations§
Source§impl Debug for GeoRelation
impl Debug for GeoRelation
Source§impl PartialEq for GeoRelation
impl PartialEq for GeoRelation
impl StructuralPartialEq for GeoRelation
Auto Trait Implementations§
impl Freeze for GeoRelation
impl RefUnwindSafe for GeoRelation
impl Send for GeoRelation
impl Sync for GeoRelation
impl Unpin for GeoRelation
impl UnwindSafe for GeoRelation
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more