pub enum SpatialLibrary {
Geo,
Geos,
Tg,
}Expand description
The spatial library to use for evaluating spatial predicates
Variants§
Geo
Use georust/geo library (https://github.com/georust/geo)
Geos
Use GEOS library via georust/geos (https://github.com/georust/geos)
Tg
Use tiny geometry library (https://github.com/tidwall/tg)
Trait Implementations§
Source§impl Clone for SpatialLibrary
impl Clone for SpatialLibrary
Source§fn clone(&self) -> SpatialLibrary
fn clone(&self) -> SpatialLibrary
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 ConfigField for SpatialLibrary
impl ConfigField for SpatialLibrary
Source§impl Debug for SpatialLibrary
impl Debug for SpatialLibrary
Source§impl PartialEq for SpatialLibrary
impl PartialEq for SpatialLibrary
impl Copy for SpatialLibrary
impl StructuralPartialEq for SpatialLibrary
Auto Trait Implementations§
impl Freeze for SpatialLibrary
impl RefUnwindSafe for SpatialLibrary
impl Send for SpatialLibrary
impl Sync for SpatialLibrary
impl Unpin for SpatialLibrary
impl UnsafeUnpin for SpatialLibrary
impl UnwindSafe for SpatialLibrary
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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