modpolygon;pubusepolygon::Polygon;usesvg::node::element::Path;pubtypeIndexFn<I, T>=Box<dyn Fn(&I)-> T>;/// A trait for defining a shape
pubtraitShape{typeIndex;/// Generate an SVG `path` for a given `index`
////// This `index` can be used by implementers to control the generated shape based on where it
/// is in the [`PointSet`](crate::point_set::PointSet).
fngenerate_path(&self, index:&Self::Index)-> Path;}