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

Method to_owned

crates/wtf8/src/lib.rs:670–672  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

668 type Owned = Wtf8Buf;
669
670 fn to_owned(&self) -> Self::Owned {
671 self.to_wtf8_buf()
672 }
673
674 fn clone_into(&self, buf: &mut Self::Owned) {
675 self.bytes.clone_into(&mut buf.bytes);

Callers 6

js_errorFunction · 0.45
runMethod · 0.45
js_err_to_py_errFunction · 0.45
make_stdout_objectFunction · 0.45
fromMethod · 0.45
joinMethod · 0.45

Calls 1

to_wtf8_bufMethod · 0.80

Tested by

no test coverage detected