Modules
Structs
Formatter aims to help to write nice log output.
Functions
Drain and filter at the same time, accepts a mutable vector ref
and predicate
.
The predicate
receives a vector element ref
for the current iteration and
in-place removes the element from the vector, if predicate
returns true
.
Returns and array of removed
elements back.
Generate a random boolean.
Generate a random number in (min, max]
range.
Generate a random string, length
characters long.
Generate a random string of random
length.
Swap two items.