Sequence Collections | slice | Vec | VecDeque | LinkedList | BitVec | BinaryHeap | SmallVec | ArrayVec
---------------------|:-----:|:---:|:--------:|:----------:|:------:|:----------:|:--------:|:--------:
OrderedCollection | | | | | | ⚫ | |
| | | | | | | |
Len | ⚫ | ⚫ | ⚫ | ⚫ | ⚫ | ⚫ | ⚫ | ⚫
Capacity | | ⚫ | ⚫ | | ? | ⚫ | ⚫ | ⚫
Reserve | | ⚫ | ⚫ | | ? | ⚫ | ⚫ |
ShrinkToFit | | ⚫ | ⚫ | | ⚫ | ⚫ | ? |
Clear | | ⚫ | ⚫ | ⚫ | ⚫ | ⚫ | ⚫ | ⚫
| | | | | | | |
Contains | ⚫ | ⚫ | | | ? | | ⚫ | ⚫
Get | ⚫ | ⚫ | | | ⚫ | | ⚫ | ⚫
GetMut | ⚫ | ⚫ | | | | | ⚫ | ⚫
Iterate | ⚫ | ⚫ | ⚫ | ⚫ | ⚫ | ⚫ | ⚫ | ⚫
IterateMut | ⚫ | ⚫ | ⚫ | ⚫ | | ⚫ | ⚫ | ⚫
| | | | | | | |
Insert | | ⚫ | ? | ? | ? | ⚫ | ⚫ | ⚫
Insert2 | | ⚫ | ? | ? | ? | ⚫ | ⚫ | ⚫
Remove | | ⚫ | ? | ? | ? | ⚫ | ⚫ | ⚫
PushFront | | ? | ⚫ | ⚫ | | ? | ? | ?
PushBack | | ⚫ | ⚫ | ⚫ | | ? | ⚫ | ⚫
PopFront | | ? | ⚫ | ⚫ | | ? | ? | ?
PopBack | | ⚫ | ⚫ | ⚫ | | ? | ⚫ | ⚫
.
Set Collections | HashSet | BTreeSet | BitSet | FlatSet
---------------------|:-------:|:--------:|:------:|:-------:
OrderedCollection | | ⚫ | ⚫ | ⚫
| | | |
Len | ⚫ | ⚫ | ⚫ | ⚫
Capacity | ⚫ | | ? | ⚪
Reserve | ⚫ | | ? | ⚪
ShrinkToFit | ⚫ | | ? | ⚪
Clear | ⚫ | ⚫ | ⚫ | ⚪
| | | |
Contains | ⚫ | ⚫ | ? | ⚫
Iterate | ⚫ | ⚫ | ⚫ | ⚫
| | | |
Insert | ⚫ | ⚫ | ⚫ | ⚪
Remove | ⚫ | ⚫ | ⚫ | ⚪
.
Map Collections | HashMap | BTreeMap | VecMap | FlatMap
---------------------|:-------:|:--------:|:------:|:-------:
OrderedCollection | | ⚫ | ⚫ | ⚫
| | | |
Len | ⚫ | ⚫ | ⚫ | ⚫
Capacity | ⚫ | | ⚫ | ⚪
Reserve | ⚫ | | ? | ⚪
ShrinkToFit | ⚫ | | ⚫ | ⚪
Clear | ⚫ | ⚫ | ⚫ | ⚪
| | | |
Contains | ⚫ | ⚫ | ⚫ | ⚫
Get | ⚫ | ⚫ | ⚫ | ⚫
GetMut | ⚫ | ⚫ | ⚫ | ⚪
Iterate | ⚫ | ⚫ | ⚫ | ⚫
IterateMut | ⚫ | ⚫ | ⚫ | ⚪
| | | |
Insert | ⚫ | ⚫ | ⚫ | ⚪
Insert2 | ⚫ | ⚫ | ⚫ | ⚪
Remove | ⚫ | ⚫ | ⚫ | ⚪