Trait lyon_path::builder::Build

source ·
pub trait Build {
    type PathType;

    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).

Required Associated Types

The type of object that is created by this builder.

Required Methods

Builds a path object, consuming the builder.

Implementors