[][src]Trait lyon_tessellation::VertexConstructor

pub trait VertexConstructor<Input, VertexType> {
    fn new_vertex(&mut self, input: Input) -> VertexType;
}

A trait specifying how to create vertex values.

Required methods

fn new_vertex(&mut self, input: Input) -> VertexType

Loading content...

Implementors

impl<F, Input, VertexType> VertexConstructor<Input, VertexType> for F where
    F: Fn(Input) -> VertexType, 
[src]

impl<T> VertexConstructor<T, T> for Identity[src]

Loading content...