Struct lyon_tessellation::geometry_builder::VertexId
[−]
[src]
pub struct VertexId(pub u16);
A virtual vertex offset in a geometry.
The VertexId
s 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]
fn clone(&self) -> VertexId
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for VertexId
[src]
impl PartialEq for VertexId
[src]
fn eq(&self, __arg_0: &VertexId) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &VertexId) -> bool
This method tests for !=
.