pub trait StrokeVertexConstructor<OutputVertex> {
    // Required method
    fn new_vertex(&mut self, vertex: StrokeVertex<'_, '_>) -> OutputVertex;
}
Expand description

A trait specifying how to create vertex values.

Required Methods§

source

fn new_vertex(&mut self, vertex: StrokeVertex<'_, '_>) -> OutputVertex

Implementors§

source§

impl StrokeVertexConstructor<Point2D<f32, UnknownUnit>> for Positions

source§

impl<F, OutputVertex> StrokeVertexConstructor<OutputVertex> for F
where F: Fn(StrokeVertex<'_, '_>) -> OutputVertex,