FillVertexConstructor

Trait FillVertexConstructor 

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

A trait specifying how to create vertex values.

Required Methods§

Source

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

Implementors§

Source§

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

Source§

impl<F, OutputVertex> FillVertexConstructor<OutputVertex> for F
where F: Fn(FillVertex<'_>) -> OutputVertex,