Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ new
Method
new
crates/vm/src/frame.rs:106–108 ·
view source on GitHub ↗
(value: T)
Source
from the content-addressed store, hash-verified
104
105
impl<T> FrameUnsafeCell<T> {
106
fn new(value: T) -> Self {
107
Self(UnsafeCell::new(value))
108
}
109
110
/// # Safety
111
/// Caller must ensure no concurrent mutable access.
Callers
nothing calls this directly
Calls
11
Self
Function · 0.85
new
Function · 0.85
Heap
Class · 0.85
fastlocals_mut
Method · 0.80
none
Method · 0.80
Some
Class · 0.50
len
Method · 0.45
iter
Method · 0.45
clone
Method · 0.45
get
Method · 0.45
contains
Method · 0.45
Tested by
no test coverage detected