Rust provides Higher Order Functions (HOF), these are functions that take a closure as argument to produce a more useful function. HOFs and lazy iterators give Rust its functional flavor.

{hof.play}

Option and Iterator implement their fair share of HOFs.