Struct lyon::tessellation::geometry_builder::VertexId []

pub struct VertexId(pub u16);

A virtual vertex offset in a geometry.

The VertexIds are only valid between GeometryBuilder::begin_geometry and GeometryBuilder::end_geometry. GeometryBuilder implementations typically be translate the ids internally so that first VertexId after begin_geometry is zero.

Methods

impl VertexId

Trait Implementations

impl Copy for VertexId

impl Eq for VertexId

impl PartialEq<VertexId> for VertexId

impl Clone for VertexId

impl Debug for VertexId

impl Hash for VertexId