pub trait Iterable: _Object {
    fn __len__(&self) -> usize;
}
Expand description

implement iterable for List for example i need this to use with max min builtins

Required methods

return the length of the collection/container/iterable

Implementors

if you want to use max(&list) you need the impl for &List how comes that for Object work by default