clamp

Clamps a value between of two.

pragma(inline, true) @nogc @safe pure nothrow
T
clamp
(
T
)
(
ref T input
,
const T min
,
const T max
)

Meta