Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aiscriptdev/aiscript
/ erase
Method
erase
aiscript-arena/src/gc.rs:145–147 ·
view source on GitHub ↗
(this: Gc<'gc, T>)
Source
from the content-addressed store, hash-verified
143
/// casting a `*mut T`.
144
#[inline]
145
pub fn erase(this: Gc<
'gc, T>) -> Gc<'
gc, ()> {
146
unsafe { Gc::cast(this) }
147
}
148
149
/// Retrieve a `Gc` from a raw pointer obtained from `Gc::as_ptr`
150
///
Callers
2
trace
Method · 0.45
intern
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected