pub fn clamp_u16(val: u32) -> u16
Expand description

Clamps the given value to the [0, 65_535] range.