Trait ToGeoJsonFeature

Source
pub trait ToGeoJsonFeature {
    // Required method
    fn to_feature(&self) -> Feature;
}
Expand description

A trait that allows types to be converted to GeoJSON.

Required Methods§

Source

fn to_feature(&self) -> Feature

Convert the type to GeoJSON.

Implementors§