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]
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 !=
.
impl Eq for VertexId
[src]
impl Hash for VertexId
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.