We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9056d3c commit fdee8d8Copy full SHA for fdee8d8
src/ewkb.rs
@@ -782,7 +782,7 @@ pub type MultiPolygonZM = MultiPolygonT<PointZM>;
782
783
784
/// Generic Geometry Data Type
785
-#[derive(Debug)]
+#[derive(Clone, Debug)]
786
pub enum GeometryT<P: postgis::Point + EwkbRead> {
787
Point(P),
788
LineString(LineStringT<P>),
@@ -837,7 +837,7 @@ pub type GeometryM = GeometryT<PointM>;
837
pub type GeometryZM = GeometryT<PointZM>;
838
839
840
841
pub struct GeometryCollectionT<P: postgis::Point + EwkbRead> {
842
pub geometries: Vec<GeometryT<P>>
843
}
0 commit comments