Enum geojson::Crs [] [src]

pub enum Crs {
    Named {
        name: String,
    },
    Linked {
        href: String,
        type_: Option<String>,
    },
}

Coordinate Reference System Objects

GeoJSON Format Specification § 3

Variants

Named

Fields

name: String
Linked

Fields

href: String
type_: Option<String>

Trait Implementations

impl PartialEq for Crs
[src]

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

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

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

This method tests for !=.

impl Debug for Crs
[src]

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

Formats the value using the given formatter.

impl Clone for Crs
[src]

fn clone(&self) -> Crs

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 ToJson for Crs
[src]

fn to_json(&self) -> JsonValue

Converts the value of self to an instance of JSON