Enum geojson::GeoJson
[−]
[src]
pub enum GeoJson { Geometry(Geometry), Feature(Feature), FeatureCollection(FeatureCollection), }
GeoJSON Objects
Variants
Geometry(Geometry)
Feature(Feature)
FeatureCollection(FeatureCollection)
Trait Implementations
impl Clone for GeoJson
[src]
fn clone(&self) -> GeoJson
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 Debug for GeoJson
[src]
impl PartialEq for GeoJson
[src]
fn eq(&self, __arg_0: &GeoJson) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &GeoJson) -> bool
This method tests for !=
.
impl From<Geometry> for GeoJson
[src]
impl From<Feature> for GeoJson
[src]
impl From<FeatureCollection> for GeoJson
[src]
fn from(feature_collection: FeatureCollection) -> GeoJson
Performs the conversion.
impl ToJson for GeoJson
[src]
impl FromStr for GeoJson
[src]
type Err = Error
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>
Parses a string s
to return a value of this type. Read more