Module fetch

Module fetch 

Source
Expand description

Fetch and apply operations to the current value, returning the previous value.

Traits§

Add
Adds to the current value, returning the previous value.
And
Bitwise “and” with the current value.
Max
Maximum with the current value.
Min
Minimum with the current value.
Nand
Bitwise “nand” with the current value.
Or
Bitwise “or” with the current value.
Sub
Subtracts from the current value, returning the previous value.
Update
Fetches the value, and applies a function to it that returns an optional new value.
Xor
Bitwise “xor” with the current value.