ConvertVectorFeatureS2

Trait ConvertVectorFeatureS2 

Source
pub trait ConvertVectorFeatureS2<M: Clone = (), P: Clone + Default = Properties, D: Clone + Default = MValue> {
    // Required method
    fn to_wm(&self) -> Self;
}
Expand description

Underlying conversion mechanic to move S2 Geometry to GeoJSON Geometry

Required Methods§

Source

fn to_wm(&self) -> Self

Convert an S2 Feature to a GeoJSON Vector Feature

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<M: Clone, P: Clone + Default, D: Clone + Default> ConvertVectorFeatureS2<M, P, D> for VectorFeature<M, P, D>

Source§

fn to_wm(&self) -> Self

Convert an S2 Feature to a GeoJSON Vector Feature

Implementors§