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

Generic Geometry Data Type

Variants

Trait Implementations

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

Formats the value using the given formatter.

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

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

Creates a new value of this type from a buffer of data of the specified Postgres Type in its binary format. Read more

Determines if a value of this type can be created from the specified Postgres Type. Read more

Creates a new value of this type from a NULL SQL value. Read more

A convenience function that delegates to from_sql and from_sql_null depending on the value of raw. Read more