Module compactmap::wrapped [] [src]

Special version of CompactMap that helps you not to confuse those usize tokens with something else

Structs

CompactMap

Special version of CompactMap that uses your usize-equivalent types as keys You are expected to use newtype-style structs like struct MyToken(usize); for this If needed, you can cheat with into_unwrapped, unwrapped and so on.

Drain

A draining iterator over the key-value pairs of a map.

IntoIter

A consuming iterator over the key-value pairs of a map.

Iter

An iterator over the key-value pairs of a map.

IterMut

An iterator over the key-value pairs of a map, with the values being mutable.

Keys

An iterator over the keys of a map.