pub mod base;
pub mod shape;
pub mod prelude;
pub mod traits;
use shape::{Point, Edge, Rect, Polyline, Polygon, Path, Text};
#[derive(PartialEq, Eq, Clone, Debug, Hash)]
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
pub enum Geometry<T> {
Point(Point<T>),
Edge(Edge<T>),
Rect(Rect<T>),
Polyline(Polyline<T>),
Polygon(Polygon<T>),
Path(Path<T>),
Text(Text<T>),
}