MCPcopy 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_dirFunction · 0.45
win32_xstat_slow_implFunction · 0.45
fastlocalsMethod · 0.45
stack_as_sliceMethod · 0.45
stack_indexMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected