Closed Quba1 closed 1 year ago
This PR adds implementation of common traits according to Rust API Guidelines.
Personally, I only need Clone for Polygon but I have added other implementations if someone needs them in the future.
Clone
Polygon
I did not implement Default and Display traits as thy require in-depth code analysis to implement them reasonably.
Default
Display
Crate passes all test with that change.
This PR adds implementation of common traits according to Rust API Guidelines.
Personally, I only need
Clone
forPolygon
but I have added other implementations if someone needs them in the future.I did not implement
Default
andDisplay
traits as thy require in-depth code analysis to implement them reasonably.Crate passes all test with that change.