clamp_to

Function clamp_to 

Source
fn clamp_to(value: &mut u16, range: Option<RangeInclusive<u16>>)