Struct geojson::Geometry [] [src]

pub struct Geometry {
    pub bbox: Option<Bbox>,
    pub value: Value,
    pub crs: Option<Crs>,
}

Fields

Methods

impl Geometry
[src]

Returns a new Geometry with the specified value. bbox and crs will be set to None.

Trait Implementations

impl Clone for Geometry
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Geometry
[src]

Formats the value using the given formatter.

impl PartialEq for Geometry
[src]

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

This method tests for !=.

impl Serialize for Geometry
[src]

Serialize this value into the given Serde serializer. Read more

impl Deserialize for Geometry
[src]

Deserialize this value from the given Serde deserializer. Read more