Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ __len__
Method
__len__
crates/vm/src/stdlib/_collections.rs:346–348 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
344
}
345
346
fn __len__(&self) -> usize {
347
self.borrow_deque().len()
348
}
349
350
fn concat(&self, other: &PyObject, vm: &VirtualMachine) -> PyResult<Self> {
351
if let Some(o) = other.downcast_ref::<Self>() {
Callers
4
index
Method · 0.45
repr
Method · 0.45
__length_hint__
Method · 0.45
warn_if_multi_threaded
Function · 0.45
Calls
2
borrow_deque
Method · 0.80
len
Method · 0.45
Tested by
no test coverage detected