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

Method clone

crates/common/src/str.rs:154–156  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

152
153impl Clone for StrLen {
154 fn clone(&self) -> Self {
155 Self(self.0.load(Relaxed).into())
156 }
157}
158
159impl Default for StrData {

Callers 15

encode_utf8_compatibleFunction · 0.45
handle_decode_errorMethod · 0.45
encodeFunction · 0.45
inline_comprehensionFunction · 0.45
analyze_symbol_tableMethod · 0.45
enter_scopeMethod · 0.45
scan_statementMethod · 0.45
register_nameMethod · 0.45
compile_programFunction · 0.45
compile_program_singleFunction · 0.45

Calls 2

SelfFunction · 0.85
loadMethod · 0.45

Tested by

no test coverage detected