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

Method as_ref

crates/vm/src/function/number.rs:142–144  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

140
141impl AsRef<PyIntRef> for ArgIndex {
142 fn as_ref(&self) -> &PyIntRef {
143 &self.value
144 }
145}
146
147impl From<ArgIndex> for PyIntRef {

Callers 2

to_path_bufMethod · 0.45
zst_ref_out_of_thin_airFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected