Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
43: Use generic type for precision in conversion r=frewsxcv a=pjsier Attempt to close #33. I based this off of the conversion implementation in [geojson](https://github.com/georust/geojson/blob/master/src/conversion.rs) and only used generic types for converting to `geo_types` objects Initially I tried to update the `From` trait implementation, but I used `Into` instead because updating `From` gave me the following error: ``` type parameter `T` must be used as the type parameter for some local type ``` If I missed something that would make `From` work instead I can make that change. Let me know if I should change that or anything else here, thanks! Co-authored-by: pjsier <pjsier@gmail.com>
- Loading branch information
Showing
13 changed files
with
399 additions
and
174 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.