1 2 3 4 5 6 7 8 9 10 11
mod polygon; pub use polygon::KanokoShape as Polygon; use svg::node::element::Path; pub trait Shape { type Index; fn generate_path(&self, index: &Self::Index) -> Path; }