Trait ToGeoJsonFeatureCollection

Source
pub trait ToGeoJsonFeatureCollection {
    // Required method
    fn to_feature_collection(&self) -> FeatureCollection;
}
Expand description

A trait that allows for iterator types to be converted to GeoJSON.

Required Methods§

Source

fn to_feature_collection(&self) -> FeatureCollection

Convert the type to GeoJSON.

Implementations on Foreign Types§

Source§

impl<'a, L, D, T> ToGeoJsonFeatureCollection for &'a L
where L: Deref<Target = D>, D: Deref<Target = [T]>, T: ToGeoJsonFeature + 'static,

Implementation specifically for ConcreteVec.

Implementors§