HashMap in Rust
- What is a HashMap?
- Create empty HashMap, insert key-value pairs
- Create immutable hash with data
- Check if hash contains key (key exists)
- Get value from hash
- Iterate over keys of a hash
- Iterate over key-value pairs in a Hash
- Rust hash update value
- Rust update values in a hash - count words
- Remove element from hash
- Accessing values
- Split string create hash
- Create hash from key-value pairs after split
- Read key-value pairs from file
- Sort vector of hashes
- Mapping structs based on more than one key
- Mapping structs based on more than one key from a vector
- Create hash from vector of tuple pairs
- Hash of vectors in Rust
- Add items to a hash of vectors using a function
- Integers as keys of a HashMap
- Tuples as keys of a HashMap
- Structs as keys of a HashMap
- Merge HashMaps (extend)
- Merge two HashMaps adding the values
- Merge two HashMaps adding the values implemented as a function
- Merge two HashMaps adding the values in a function