Module ops

Module ops 

Source

Modules§

apply
incremental

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;
Decrement
Decrement defines an interface for decrementing a value.
DecrementMut
DecrementMut is a trait describing the ability to decrement a value in place. It is similar to Decrement, but it allows for mutable access to the value.
DecrementRef
DecrementRef is a trait describing the ability to decrement a value by reference.
Increment
Increment defines an interface for incrementing a value.
IncrementMut
IncrementMut is similar to Increment, but it allows for incrementing a value in place.
IncrementRef
IncrementRef is similar to Increment, but it allows for incrementing a value by reference.