Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ as_ptr
Method
as_ptr
crates/vm/src/intern.rs:165–167 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
163
164
#[inline]
165
const fn as_ptr(&self) -> *const Py<T> {
166
self as *const _ as *const _
167
}
168
169
#[inline]
170
pub fn to_owned(&'static self) -> PyRef<T> {
Callers
5
attributes_from_dir
Function · 0.45
win32_xstat_slow_impl
Function · 0.45
fastlocals
Method · 0.45
stack_as_slice
Method · 0.45
stack_index
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected