HashMap in Rust

  1. What is a HashMap?
  2. Create empty HashMap, insert key-value pairs
  3. Create immutable hash with data
  4. Check if hash contains key (key exists)
  5. Get value from hash
  6. Iterate over keys of a hash
  7. Iterate over key-value pairs in a Hash
  8. Rust hash update value
  9. Rust update values in a hash - count words
  10. Remove element from hash
  11. Accessing values
  12. Split string create hash
  13. Create hash from key-value pairs after split
  14. Read key-value pairs from file
  15. Sort vector of hashes
  16. Mapping structs based on more than one key
  17. Mapping structs based on more than one key from a vector
  18. Create hash from vector of tuple pairs
  19. Hash of vectors in Rust
  20. Integers as keys of a HashMap
  21. Tuples as keys of a HashMap
  22. Structs as keys of a HashMap
  23. Merge HashMaps (extend)
  24. Merge two HashMaps adding the values
  25. Merge two HashMaps adding the values in a function