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]

[src]

Trait Implementations

impl Copy for VertexId
[src]

impl Clone for VertexId
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for VertexId
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for VertexId
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for VertexId
[src]

impl Hash for VertexId
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

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

impl From<u16> for VertexId
[src]

[src]

Performs the conversion.

impl From<u32> for VertexId
[src]

[src]

Performs the conversion.

impl From<i32> for VertexId
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for VertexId

impl Sync for VertexId