[][src]Trait lyon_tessellation::BasicGeometryBuilder

pub trait BasicGeometryBuilder: GeometryBuilder {
    fn add_vertex(
        &mut self,
        position: Point
    ) -> Result<VertexId, GeometryBuilderError>; }

A Geometry builder to interface with some of the basic tessellators.

See the basic_shapes module.

Types implementing this trait must also implement the GeometryBuilder trait.

Required methods

fn add_vertex(
    &mut self,
    position: Point
) -> Result<VertexId, GeometryBuilderError>

Loading content...

Implementors

impl BasicGeometryBuilder for NoOutput[src]

impl<'l, OutputVertex, OutputIndex, Ctor> BasicGeometryBuilder for BuffersBuilder<'l, OutputVertex, OutputIndex, Ctor> where
    OutputVertex: 'l,
    OutputIndex: Add + From<VertexId> + MaxIndex,
    Ctor: BasicVertexConstructor<OutputVertex>, 
[src]

Loading content...