Clamp

Clamps scalar elements

pure nothrow
T
Clamp
(
T
)
(
T x
,
T min
,
T max
)
if (
__traits(isScalar, T)
)

Meta