Enum geozero::wkb::WKBGeometryType
source · pub enum WKBGeometryType {
Show 69 variants
Unknown = 0,
Point = 1,
LineString = 2,
Polygon = 3,
MultiPoint = 4,
MultiLineString = 5,
MultiPolygon = 6,
GeometryCollection = 7,
CircularString = 8,
CompoundCurve = 9,
CurvePolygon = 10,
MultiCurve = 11,
MultiSurface = 12,
Curve = 13,
Surface = 14,
PolyhedralSurface = 15,
Tin = 16,
Triangle = 17,
PointZ = 1_001,
LineStringZ = 1_002,
PolygonZ = 1_003,
MultiPointZ = 1_004,
MultiLineStringZ = 1_005,
MultiPolygonZ = 1_006,
GeometryCollectionZ = 1_007,
CircularStringZ = 1_008,
CompoundCurveZ = 1_009,
CurvePolygonZ = 1_010,
MultiCurveZ = 1_011,
MultiSurfaceZ = 1_012,
CurveZ = 1_013,
SurfaceZ = 1_014,
PolyhedralSurfaceZ = 1_015,
TinZ = 1_016,
TriangleZ = 1_017,
PointM = 2_001,
LineStringM = 2_002,
PolygonM = 2_003,
MultiPointM = 2_004,
MultiLineStringM = 2_005,
MultiPolygonM = 2_006,
GeometryCollectionM = 2_007,
CircularStringM = 2_008,
CompoundCurveM = 2_009,
CurvePolygonM = 2_010,
MultiCurveM = 2_011,
MultiSurfaceM = 2_012,
CurveM = 2_013,
SurfaceM = 2_014,
PolyhedralSurfaceM = 2_015,
TinM = 2_016,
TriangleM = 2_017,
PointZM = 3_001,
LineStringZM = 3_002,
PolygonZM = 3_003,
MultiPointZM = 3_004,
MultiLineStringZM = 3_005,
MultiPolygonZM = 3_006,
GeometryCollectionZM = 3_007,
CircularStringZM = 3_008,
CompoundCurveZM = 3_009,
CurvePolygonZM = 3_010,
MultiCurveZM = 3_011,
MultiSurfaceZM = 3_012,
CurveZM = 3_013,
SurfaceZM = 3_014,
PolyhedralSurfaceZM = 3_015,
TinZM = 3_016,
TriangleZM = 3_017,
}
Expand description
WKB Types according to OGC 06-103r4 (https://www.ogc.org/standards/sfa)
Variants§
Unknown = 0
Point = 1
LineString = 2
Polygon = 3
MultiPoint = 4
MultiLineString = 5
MultiPolygon = 6
GeometryCollection = 7
CircularString = 8
CompoundCurve = 9
CurvePolygon = 10
MultiCurve = 11
MultiSurface = 12
Curve = 13
Surface = 14
PolyhedralSurface = 15
Tin = 16
Triangle = 17
PointZ = 1_001
LineStringZ = 1_002
PolygonZ = 1_003
MultiPointZ = 1_004
MultiLineStringZ = 1_005
MultiPolygonZ = 1_006
GeometryCollectionZ = 1_007
CircularStringZ = 1_008
CompoundCurveZ = 1_009
CurvePolygonZ = 1_010
MultiCurveZ = 1_011
MultiSurfaceZ = 1_012
CurveZ = 1_013
SurfaceZ = 1_014
PolyhedralSurfaceZ = 1_015
TinZ = 1_016
TriangleZ = 1_017
PointM = 2_001
LineStringM = 2_002
PolygonM = 2_003
MultiPointM = 2_004
MultiLineStringM = 2_005
MultiPolygonM = 2_006
GeometryCollectionM = 2_007
CircularStringM = 2_008
CompoundCurveM = 2_009
CurvePolygonM = 2_010
MultiCurveM = 2_011
MultiSurfaceM = 2_012
CurveM = 2_013
SurfaceM = 2_014
PolyhedralSurfaceM = 2_015
TinM = 2_016
TriangleM = 2_017
PointZM = 3_001
LineStringZM = 3_002
PolygonZM = 3_003
MultiPointZM = 3_004
MultiLineStringZM = 3_005
MultiPolygonZM = 3_006
GeometryCollectionZM = 3_007
CircularStringZM = 3_008
CompoundCurveZM = 3_009
CurvePolygonZM = 3_010
MultiCurveZM = 3_011
MultiSurfaceZM = 3_012
CurveZM = 3_013
SurfaceZM = 3_014
PolyhedralSurfaceZM = 3_015
TinZM = 3_016
TriangleZM = 3_017
Implementations§
Trait Implementations§
source§impl Clone for WKBGeometryType
impl Clone for WKBGeometryType
source§fn clone(&self) -> WKBGeometryType
fn clone(&self) -> WKBGeometryType
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 WKBGeometryType
impl Debug for WKBGeometryType
source§impl PartialEq for WKBGeometryType
impl PartialEq for WKBGeometryType
source§fn eq(&self, other: &WKBGeometryType) -> bool
fn eq(&self, other: &WKBGeometryType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for WKBGeometryType
Auto Trait Implementations§
impl Freeze for WKBGeometryType
impl RefUnwindSafe for WKBGeometryType
impl Send for WKBGeometryType
impl Sync for WKBGeometryType
impl Unpin for WKBGeometryType
impl UnwindSafe for WKBGeometryType
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 moresource§impl<T> IntoSql for T
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> Self::Expression
fn into_sql<T>(self) -> Self::Expression
Convert
self
to an expression for Diesel’s query builder. Read moresource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
Convert
&self
to an expression for Diesel’s query builder. Read more