Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ len
Method
len
crates/vm/src/builtins/dict.rs:847–849 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
845
}
846
impl ExactSizeIterator for DictIntoIter {
847
fn len(&self) -> usize {
848
self.dict.entries.len_from_entry_index(self.position)
849
}
850
}
851
852
pub struct DictIter<'a> {
Callers
4
freelist_push
Method · 0.45
is_empty
Method · 0.45
__len__
Method · 0.45
size_hint
Method · 0.45
Calls
1
len_from_entry_index
Method · 0.80
Tested by
no test coverage detected