Module apply

Module apply 

Source

Traitsยง

Apply
Apply is a trait that allows for mapping over a reference to a type T by applying a function F to it, producing a new type U. The result is wrapped in a container type defined by the implementor of the trait.
ApplyMut
The ApplyMut trait allows for in-place mapping of a mutable reference to a type T
ApplyOnce
A the ApplyOnce trait is similar to [Map], but it consumes the instance instead of borrowing it;