IntoGeom

Trait IntoGeom 

Source
pub trait IntoGeom {
    // Required methods
    fn into_geom(self) -> Geom;
    fn cached_envelope(self) -> CachedEnvelope<Geom>;
}
Expand description

Trait to convert objects to Geom structs

Required Methods§

Implementors§

Source§

impl<T> IntoGeom for T
where Geom: From<T>,

Implement IntoGeom for any structs that have From<T> for Geom