Maps an Option<T> to Option<U> by applying a function to a contained value.
Option<T>
Option<U>
Mapping function.
Option to map.
Option
Mapped Option.
Maps an
Option<T>
toOption<U>
by applying a function to a contained value.