Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ index
Method
index
crates/vm/src/dict_inner.rs:72–78 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
70
}
71
72
const fn index(self) -> Option<usize> {
73
if self.0 >= 0 {
74
Some(self.0 as usize)
75
} else {
76
None
77
}
78
}
79
}
80
81
#[derive(Clone)]
Callers
9
insert
Method · 0.45
contains
Method · 0.45
hint_for_key
Method · 0.45
_get_inner
Method · 0.45
delete_or_insert
Method · 0.45
setdefault
Method · 0.45
setdefault_entry
Method · 0.45
lookup
Method · 0.45
pop_inner_if
Method · 0.45
Calls
1
Some
Class · 0.50
Tested by
no test coverage detected