Enum postgis::ewkb::GeometryT [−][src]
pub enum GeometryT<P: Point + EwkbRead> {
Point(P),
LineString(LineStringT<P>),
Polygon(PolygonT<P>),
MultiPoint(MultiPointT<P>),
MultiLineString(MultiLineStringT<P>),
MultiPolygon(MultiPolygonT<P>),
GeometryCollection(GeometryCollectionT<P>),
}
Expand description
Generic Geometry Data Type
Variants
LineString(LineStringT<P>)
Tuple Fields of LineString
0: LineStringT<P>
Polygon(PolygonT<P>)
Tuple Fields of Polygon
0: PolygonT<P>
MultiPoint(MultiPointT<P>)
Tuple Fields of MultiPoint
0: MultiPointT<P>
MultiLineString(MultiLineStringT<P>)
Tuple Fields of MultiLineString
0: MultiLineStringT<P>
MultiPolygon(MultiPolygonT<P>)
Tuple Fields of MultiPolygon
0: MultiPolygonT<P>
GeometryCollection(GeometryCollectionT<P>)
Tuple Fields of GeometryCollection
0: GeometryCollectionT<P>
Trait Implementations
impl<'a, P> AsEwkbGeometry<'a> for GeometryT<P> where
P: 'a + Point + EwkbRead + AsEwkbPoint<'a>,
impl<'a, P> AsEwkbGeometry<'a> for GeometryT<P> where
P: 'a + Point + EwkbRead + AsEwkbPoint<'a>,
type PointType = P
type MultiPointType = MultiPointT<P>
type LineType = LineStringT<P>
type MultiLineType = MultiLineStringT<P>
type MultiPolyType = MultiPolygonT<P>
type GeomCollection = GeometryCollectionT<P>
fn as_ewkb(
&'a self
) -> EwkbGeometry<'a, Self::PointType, Self::PointIter, Self::MultiPointType, Self::LineType, Self::LineIter, Self::MultiLineType, Self::PolyType, Self::PolyIter, Self::MultiPolyType, Self::GeomType, Self::GeomIter, Self::GeomCollection>
Auto Trait Implementations
impl<P> RefUnwindSafe for GeometryT<P> where
P: RefUnwindSafe,
impl<P> UnwindSafe for GeometryT<P> where
P: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a reference to self
as a ToSql
trait object.