andelf / andelf/rust-postgis

Implement Default trait for Point types

Aperta
#33 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
54
Fork
25
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

It would be nice if `Default` was implemented for `Point`. Without it migration from `geo_types` is that much harder. Moreover, we can't use crates like `derive-builder` which require Default.

The obvious choice for `postgis::ewkb::Point` is `(0,0)` with an SRID of `None`

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.