Module core::utils [] [src]

Functions

clamp

Constrain a value within a minimum and maximum range (inclusive).

clamp_float

Constrain a float value within a minimum and maximum range (inclusive).

pretty_print

Returns a string representing i with thousands separated by underscores.