pub struct IncidenceBuild { /* private fields */ }Expand description
A resumable build of a mesh’s Incidence: the build of
Mesh::ensure_incidence 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 index 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_incidence starts over when the mesh has
changed since, and caches the index when the build is done.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IncidenceBuild
impl RefUnwindSafe for IncidenceBuild
impl Send for IncidenceBuild
impl Sync for IncidenceBuild
impl Unpin for IncidenceBuild
impl UnsafeUnpin for IncidenceBuild
impl UnwindSafe for IncidenceBuild
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