Std.HashMap.entries
1 declaration
fn
entries: &Std.HashMap.HashMap[K, V] -> Array[(K, V)] where K: Eq + HashThis is a callable function.
What it does
Every pairing, in the order the keys were first put in.
Order is what the entries record rather than where the buckets put them, so
two programs that inserted the same keys in the same order enumerate them
the same way — even though the seed makes their buckets differ.
Read the signature
- The text after the name is the type checked by Pudu.
- Read arrows from left to right: inputs come first, and the final type is returned.
- & borrows a value for this call instead of moving or copying it.
- Names inside [ ] are type arguments, such as the item type held by a collection.
