Struct lyon_tessellation::VertexId
source · pub struct VertexId(pub u32);Expand description
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.
Tuple Fields§
§0: u32Implementations§
Trait Implementations§
source§impl PartialEq for VertexId
impl PartialEq for VertexId
impl Copy for VertexId
impl Eq for VertexId
impl StructuralEq for VertexId
impl StructuralPartialEq for VertexId
Auto Trait Implementations§
impl RefUnwindSafe for VertexId
impl Send for VertexId
impl Sync for VertexId
impl Unpin for VertexId
impl UnwindSafe for VertexId
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more