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

pub struct VertexId(pub Index);

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. Read more

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 given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Add<u32> for VertexId
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl From<u16> for VertexId
[src]

Performs the conversion.

impl From<u32> for VertexId
[src]

Performs the conversion.

impl From<i32> for VertexId
[src]

Performs the conversion.

impl From<VertexId> for u16
[src]

Performs the conversion.

impl From<VertexId> for u32
[src]

Performs the conversion.

impl From<VertexId> for i32
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for VertexId

impl Sync for VertexId