Enum geo::Geometry [] [src]

pub enum Geometry {
    Point(Point),
    LineString(LineString),
    Polygon(Polygon),
    MultiPoint(MultiPoint),
    MultiLineString(MultiLineString),
    MultiPolygon(MultiPolygon),
    GeometryCollection(GeometryCollection),
}

Variants

Point(Point)LineString(LineString)Polygon(Polygon)MultiPoint(MultiPoint)MultiLineString(MultiLineString)MultiPolygon(MultiPolygon)GeometryCollection(GeometryCollection)

Trait Implementations

impl Debug for Geometry
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for Geometry
[src]

fn clone(&self) -> Geometry

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl PartialEq for Geometry
[src]

fn eq(&self, __arg_0: &Geometry) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Geometry) -> bool

This method tests for !=.