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

Method into_owned

crates/vm/src/object/ext.rs:612–614  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

610impl<T: PyPayload> PyLease<'_, T> {
611 #[inline(always)]
612 pub fn into_owned(self) -> PyRef<T> {
613 self.inner.clone()
614 }
615}
616
617impl<T: PyPayload> Borrow<PyObject> for PyLease<'_, T> {

Callers 15

pystr_from_raw_cstrFunction · 0.80
openssl.rsFile · 0.80
get_addr_tupleFunction · 0.80
getservbyportFunction · 0.80
if_indextonameFunction · 0.80
if_nameindexFunction · 0.80
from_unistd_groupMethod · 0.80
do_subFunction · 0.80
do_findallFunction · 0.80
do_splitFunction · 0.80
subMethod · 0.80

Calls 1

cloneMethod · 0.45

Tested by 1