Modules§
Traits§
- Apply
Applyis a trait that allows for mapping over a reference to a typeTby applying a functionFto it, producing a new typeU. The result is wrapped in a container type defined by the implementor of the trait.- Apply
Mut - The
ApplyMuttrait allows for in-place mapping of a mutable reference to a typeT - Apply
Once - A the
ApplyOncetrait is similar to [Map], but it consumes the instance instead of borrowing it; - Decrement
Decrementdefines an interface for decrementing a value.- Decrement
Mut DecrementMutis a trait describing the ability to decrement a value in place. It is similar toDecrement, but it allows for mutable access to the value.- Decrement
Ref DecrementRefis a trait describing the ability to decrement a value by reference.- Increment
Incrementdefines an interface for incrementing a value.- Increment
Mut IncrementMutis similar toIncrement, but it allows for incrementing a value in place.- Increment
Ref IncrementRefis similar toIncrement, but it allows for incrementing a value by reference.