Conditional operation and boolean values in Rust

  1. Conditional: if
  2. Conditional: if - else
  3. Conditional: else - if
  4. Rust: boolean values true and false
  5. Assign result of conditional to variable
  6. Rust: other types don't have true/false values
  7. Toggle
  8. if-else returns a value
  9. Conditional (Ternary) operator
  10. match
  11. match with conditions