ConvertFeature

Trait ConvertFeature 

Source
pub trait ConvertFeature<M: Clone = (), P: Clone + Default = Properties, D: Clone + Default = MValue> {
    // Required method
    fn to_vector(&self, build_bbox: Option<bool>) -> VectorFeature<M, P, D>;
}
Expand description

Underlying conversion mechanic to move GeoJSON Feature to GeoJSON Vector Feature

Required Methods§

Source

fn to_vector(&self, build_bbox: Option<bool>) -> VectorFeature<M, P, D>

Convert a GeoJSON Feature to a GeoJSON Vector Feature

Implementations on Foreign Types§

Source§

impl<M: Clone, P: Clone + Default, D: Clone + Default> ConvertFeature<M, P, D> for Feature<M, P, D>

Source§

fn to_vector(&self, build_bbox: Option<bool>) -> VectorFeature<M, P, D>

Convert a GeoJSON Feature to a GeoJSON Vector Feature

Implementors§