pub struct AdjacencyBuild { /* private fields */ }Expand description
A resumable build of a mesh’s Adjacency: the build of
Mesh::ensure_adjacency cut into steps of a bounded number of elements
(triangle or vertex slots), so that a caller can yield between them.
Each step runs the same loop bodies as the one-call build, over the next
elements in the same order, so the finished table is the same, entry for
entry. A build is tied to the mesh state it started from (its uid, epoch,
revision and slot counts); Mesh::step_adjacency starts over when the mesh has
changed since, and caches the table when the build is done.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AdjacencyBuild
impl RefUnwindSafe for AdjacencyBuild
impl Send for AdjacencyBuild
impl Sync for AdjacencyBuild
impl Unpin for AdjacencyBuild
impl UnsafeUnpin for AdjacencyBuild
impl UnwindSafe for AdjacencyBuild
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