// TODO: zero-cost deserialization from lat+lon into LineString.
// This currently initializes the memory twice.
// LineString deserialization expects x+y fields, alias needed.
zero-cost deserialization from lat+lon into LineString.
This currently initializes the memory twice.
LineString deserialization expects x+y fields, alias needed.
zero - cost deserialization from lat + lon into LineString . This currently initializes the memory twice . LineString deserialization expects x + y fields alias needed .
fn convert(vec: &[LatLon]) -> LineString<f64> {
    vec.iter()
        .map(|lat_lon| [lat_lon.lat, lat_lon.lon])
        .collect()
}
fn convert ( vec : & [ LatLon ] ) -> LineString < f64 > { vec . iter ( ) . map ( | lat_lon | [ lat_lon . lat , lat_lon . lon ] ) . collect ( ) }
TODO: zero-cost deserialization from lat+lon into LineString.
TODO : zero - cost deserialization from lat + lon into LineString .
vec
&[LatLon]