pub struct SelfIntersectCache(/* private fields */);Expand description
Lazily-resolved “does this impl self-intersect” verdict, stored on
ManifoldImpl. OnceLock because the robust engine queries impls from
rayon workers under the parallel feature, so the cell must be
thread-safe. Clone carries the settled value across, which is why every
operation that clones an impl and then edits its geometry must call
ManifoldImpl::invalidate_self_intersects.
Implementations§
Trait Implementations§
Source§impl Clone for SelfIntersectCache
impl Clone for SelfIntersectCache
Source§impl Debug for SelfIntersectCache
impl Debug for SelfIntersectCache
Source§impl Default for SelfIntersectCache
impl Default for SelfIntersectCache
Source§fn default() -> SelfIntersectCache
fn default() -> SelfIntersectCache
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for SelfIntersectCache
impl RefUnwindSafe for SelfIntersectCache
impl Send for SelfIntersectCache
impl Sync for SelfIntersectCache
impl Unpin for SelfIntersectCache
impl UnsafeUnpin for SelfIntersectCache
impl UnwindSafe for SelfIntersectCache
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