rust type cheat sheet
Option 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 // To inner type unwrap () -> T unwrap_or (T) -> T unwrap_or_else (() -> T) -> T unwrap_or_default () -> T where T: Default expect (&str) -> T //Converting to another type map ((T) -> U) -> Option<U> map_or (U, (T) -> U) -> U