pub trait ToGeoJsonFeature {
// Required method
fn to_feature(&self) -> Feature;
}
Expand description
A trait that allows types to be converted to GeoJSON.
Required Methods§
Sourcefn to_feature(&self) -> Feature
fn to_feature(&self) -> Feature
Convert the type to GeoJSON.