StrokeVertexConstructor

Trait StrokeVertexConstructor 

Source
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,