Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aiscriptdev/aiscript
/ is_dropped
Method
is_dropped
aiscript-arena/src/gc_weak.rs:47–49 ·
view source on GitHub ↗
(self, _cc: &Collection)
Source
from the content-addressed store, hash-verified
45
/// dropped.
46
#[inline]
47
pub fn is_dropped(self, _cc: &Collection) -> bool {
48
!unsafe { self.inner.ptr.as_ref() }.header.is_live()
49
}
50
51
/// Returns true when a pointer is *dead* during finalization.
52
///
Callers
1
trace
Method · 0.80
Calls
2
is_live
Method · 0.80
as_ref
Method · 0.45
Tested by
no test coverage detected