HashMap
Key → value maps via stdlib.
HashMap_str_i32
Import stdlib/map then use insert / get.
import "stdlib/map"
fn main() {
let mut scores = HashMap_str_i32_new()
scores = scores.insert("score", 100)
print(scores.get("score"))
}import "stdlib/map"
fn main() -> void {
let mut scores = HashMap_str_i32_new()
scores = scores.insert("score", 100)
print(scores.get("score"))
}Output
100