[][src]Enum postgis::ewkb::GeometryT

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>),
}

Generic Geometry Data Type

Variants

Point(P)
LineString(LineStringT<P>)
Polygon(PolygonT<P>)
MultiPoint(MultiPointT<P>)
MultiLineString(MultiLineStringT<P>)
MultiPolygon(MultiPolygonT<P>)
GeometryCollection(GeometryCollectionT<P>)

Trait Implementations

impl<'a, P> AsEwkbGeometry<'a> for GeometryT<P> where
    P: 'a + Point + EwkbRead + AsEwkbPoint<'a>, 
[src]

type PointType = P

type PointIter = Iter<'a, P>

type MultiPointType = MultiPointT<P>

type LineType = LineStringT<P>

type LineIter = Iter<'a, Self::LineType>

type MultiLineType = MultiLineStringT<P>

type PolyType = PolygonT<P>

type PolyIter = Iter<'a, Self::PolyType>

type MultiPolyType = MultiPolygonT<P>

type GeomType = GeometryT<P>

type GeomIter = Iter<'a, Self::GeomType>

type GeomCollection = GeometryCollectionT<P>

impl<P: Clone + Point + EwkbRead> Clone for GeometryT<P>[src]

impl<P: Debug + Point + EwkbRead> Debug for GeometryT<P>[src]

impl<P> EwkbRead for GeometryT<P> where
    P: Point + EwkbRead
[src]

impl<'a, P> FromSql<'a> for GeometryT<P> where
    P: Point + EwkbRead
[src]

impl ToSql for GeometryT<Point>[src]

impl ToSql for GeometryT<PointZ>[src]

impl ToSql for GeometryT<PointM>[src]

impl ToSql for GeometryT<PointZM>[src]

Auto Trait Implementations

impl<P> RefUnwindSafe for GeometryT<P> where
    P: RefUnwindSafe

impl<P> Send for GeometryT<P>

impl<P> Sync for GeometryT<P>

impl<P> Unpin for GeometryT<P> where
    P: Unpin

impl<P> UnwindSafe for GeometryT<P> where
    P: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> FromSqlOwned for T where
    T: FromSql<'a>, 
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,