1 2 3 4 5 6 7 8 9 10
mod polygon_like; use crate::SVG; use shape_core::{Rectangle, Square}; use std::fmt::Display; /// Mark a type that can be convert to svg pub trait ToSVG { /// Convert to svg by reference fn to_svg(&self) -> SVG; }