pub trait Build {
type PathType;
// Required method
fn build(self) -> Self::PathType;
}
Expand description
Builds a path.
This trait is separate from PathBuilder
and SvgPathBuilder
to allow them to
be used as trait object (which isn’t possible when a method returns an associated
type).