HashMaps
8 min · Rust
Look up values by key with HashMap — Rust's dictionary.
Rust · HashMaps0/5 cleared
Enemy 1 of 5
A HashMap stores key-value pairs. Import std::collections::HashMap, then insert(key, value) to store and get(&key) to read.
You
Syntax Skeleton
Loading editor...
Ln 1, Col 1Spaces: 4
Sign up to fightTarget output: 10