Struct lyon_tessellation::geometry_builder::VertexId [] [src]

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
[src]

Trait Implementations

impl Copy for VertexId
[src]

impl Clone for VertexId
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for VertexId
[src]

Formats the value using the given formatter.

impl PartialEq for VertexId
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for VertexId
[src]

impl Hash for VertexId
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.