pub struct Remap {
pub vertices: Vec<VertexId>,
pub triangles: Vec<TriangleId>,
}Expand description
Old slot id → new id mapping produced by Mesh::compact.
Fields§
§vertices: Vec<VertexId>Indexed by old vertex slot; Remap::REMOVED for dead slots.
triangles: Vec<TriangleId>Indexed by old triangle slot; Remap::REMOVED for dead slots.
Implementations§
Trait Implementations§
impl Eq for Remap
impl StructuralPartialEq for Remap
Auto Trait Implementations§
impl Freeze for Remap
impl RefUnwindSafe for Remap
impl Send for Remap
impl Sync for Remap
impl Unpin for Remap
impl UnsafeUnpin for Remap
impl UnwindSafe for Remap
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