Enum geojson::Value [] [src]

pub enum Value {
    Point(PointType),
    MultiPoint(Vec<PointType>),
    LineString(LineStringType),
    MultiLineString(Vec<LineStringType>),
    Polygon(PolygonType),
    MultiPolygon(Vec<PolygonType>),
    GeometryCollection(Vec<Geometry>),
}

The underlying Geometry value

Variants

Trait Implementations

impl Clone for Value
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Value
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Value
[src]

[src]

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

[src]

This method tests for !=.

impl Serialize for Value
[src]

[src]

Serialize this value into the given Serde serializer. Read more

impl<'a, T> From<&'a Point<T>> for Value where
    T: Float
[src]

[src]

Performs the conversion.

impl<'a, T> From<&'a MultiPoint<T>> for Value where
    T: Float
[src]

[src]

Performs the conversion.

impl<'a, T> From<&'a LineString<T>> for Value where
    T: Float
[src]

[src]

Performs the conversion.

impl<'a, T> From<&'a MultiLineString<T>> for Value where
    T: Float
[src]

[src]

Performs the conversion.

impl<'a, T> From<&'a Polygon<T>> for Value where
    T: Float
[src]

[src]

Performs the conversion.

impl<'a, T> From<&'a MultiPolygon<T>> for Value where
    T: Float
[src]

[src]

Performs the conversion.

impl<'a, T> From<&'a GeometryCollection<T>> for Value where
    T: Float
[src]

[src]

Performs the conversion.

impl<'a, T> From<&'a Geometry<T>> for Value where
    T: Float
[src]

[src]

Performs the conversion.