You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the ToWkt impls. need T: CoordFloat + Display on the geometry. Can this be relaxed to T: CoordNum + Display? Or, is this a big structural change? Ideally, even FromWkt should rather use CoordNum + FromStr than CoordFloat if that's possible.
The text was updated successfully, but these errors were encountered:
I think it should be possible! It'll require some changes to the underlying Wkt type which is currently restricted to num_traits::Float - but I can't imagine why it'd actually be relying on Float behavior for anything.
Currently the
ToWkt
impls. needT: CoordFloat + Display
on the geometry. Can this be relaxed toT: CoordNum + Display
? Or, is this a big structural change? Ideally, evenFromWkt
should rather useCoordNum + FromStr
thanCoordFloat
if that's possible.The text was updated successfully, but these errors were encountered: