Rust Programming - Exercises Poker with Ordering, HashMaps, Vectors, Sorting, Matching, Enums
Channel: nyxtom 🏕
Date: 2022-04-12

Explanation of my implementation of the poker exercise as I stumble through using vectors, hashmaps, ordering, iterators, closures and matching.

Rules of Poker: https://en.wikipedia.org/wiki/List_of_poker_hands

Rust Fold Operator: https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.fold
Rust Sort By Examples: https://gist.github.com/chux0519/8d03bd6b4227e1f0d07fec229d50dd2e
Rust HashMaps: https://doc.rust-lang.org/std/collections/struct.HashMap.html
Rust Iterators: https://doc.rust-lang.org/std/iter/
Rust Chars: https://doc.rust-lang.org/std/primitive.char.html#method.to_digit
Rust Ordering: https://doc.rust-lang.org/std/cmp/trait.PartialOrd.html
Rust String Manipulation: https://doc.rust-lang.org/std/primitive.str.html#method.split_at
Rust Lifetime Syntax: https://doc.rust-lang.org/book/ch10-03-lifetime-syntax.html