Enum geos::GeometryTypes
source · #[repr(C)]pub enum GeometryTypes {
Point,
LineString,
LinearRing,
Polygon,
MultiPoint,
MultiLineString,
MultiPolygon,
GeometryCollection,
// some variants omitted
}
Variants§
Trait Implementations§
source§impl Clone for GeometryTypes
impl Clone for GeometryTypes
source§fn clone(&self) -> GeometryTypes
fn clone(&self) -> GeometryTypes
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 GeometryTypes
impl Debug for GeometryTypes
source§impl Into<i32> for GeometryTypes
impl Into<i32> for GeometryTypes
source§impl Ord for GeometryTypes
impl Ord for GeometryTypes
source§fn cmp(&self, other: &GeometryTypes) -> Ordering
fn cmp(&self, other: &GeometryTypes) -> 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 GeometryTypes
impl PartialEq for GeometryTypes
source§fn eq(&self, other: &GeometryTypes) -> bool
fn eq(&self, other: &GeometryTypes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for GeometryTypes
impl PartialOrd for GeometryTypes
source§fn partial_cmp(&self, other: &GeometryTypes) -> Option<Ordering>
fn partial_cmp(&self, other: &GeometryTypes) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for GeometryTypes
impl TryFrom<i32> for GeometryTypes
impl Copy for GeometryTypes
impl Eq for GeometryTypes
impl StructuralPartialEq for GeometryTypes
Auto Trait Implementations§
impl Freeze for GeometryTypes
impl RefUnwindSafe for GeometryTypes
impl Send for GeometryTypes
impl Sync for GeometryTypes
impl Unpin for GeometryTypes
impl UnwindSafe for GeometryTypes
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