Module rs::util

source · []
Expand description

Assorted helpers

Modules

Structs

Compares pointers but not internal values of Rc

Traits

Clones the underlying data structure, like ToOwned.

Functions

Repeats all the items of the iterator forever, but returns the cycle number alongside. Inefficient due to all the vectors, but doesn’t have to be fast.

Removes the first matcing item