pub trait ToGeoJson {
// Required method
fn to_geojson(&self) -> GeoJson;
}
Expand description
A trait to convert to GeoJSON.
Required Methods§
Sourcefn to_geojson(&self) -> GeoJson
fn to_geojson(&self) -> GeoJson
Convert the type to GeoJSON.