Trait Build
pub trait Build {
type PathType;
// Required method
fn build(self) -> Self::PathType;
}
Available on crate feature
canvas
only.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).
Required Associated Types§
type PathType
type PathType
The type of object that is created by this builder.