Function fold

Source
pub fn fold<T: Float>(value: T, min: T, max: T) -> T
Expand description

Fold a value within a range

ยงPanics

If a type conversion fails.