Odak modu
HashMaps store values by key, whereas vectors store data by integer index. Keys in a HashMap can be booleans, integers, strings, or any other type. Per Rust Official documentation use a hashmap when:
You can find detailed further information from Rust Official documentation:
Yorum yapabilmek için derse kayıt olmalısın!