MCPcopy Index your code
hub / github.com/RustPython/RustPython / as_raw

Method as_raw

crates/vm/src/object/core.rs:281–283  ·  view source on GitHub ↗
(handle: &NonNull<PyObject>)

Source from the content-addressed store, hash-verified

279 type Target = PyObject;
280
281 fn as_raw(handle: &NonNull<PyObject>) -> NonNull<PyObject> {
282 *handle
283 }
284
285 unsafe fn from_raw(ptr: NonNull<PyObject>) -> NonNull<PyObject> {
286 ptr

Callers 15

fromMethod · 0.45
chmodFunction · 0.45
set_clock_timeFunction · 0.45
getgroupsFunction · 0.45
getppidFunction · 0.45
getgidFunction · 0.45
getegidFunction · 0.45
getpgidFunction · 0.45
getpgrpFunction · 0.45
getsidFunction · 0.45
getuidFunction · 0.45
geteuidFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected