MCPcopy Create free account
hub / github.com/NthTensor/Forte / ScopePtr

Class ScopePtr

src/scope.rs:929–929  ·  view source on GitHub ↗

A reference-counted pointer to a scope. Used to capture a scope pointer in jobs without faking a lifetime. Holding a `ScopePtr` keeps the reference scope from being deallocated.

Source from the content-addressed store, hash-verified

927 // branch.
928 //
929 // SAFETY: The LOCKED state gives us exclusive access.
930 unsafe { ManuallyDrop::drop(&mut *this.future.get()) };
931 drop(this);
932 }

Callers 1

newMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected