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§
impl Copy for VertexId
impl Eq for VertexId
impl StructuralPartialEq for VertexId
Auto Trait Implementations§
impl Freeze for VertexId
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