Function pid_control::util::limit_range [] [src]

pub fn limit_range<T>(min: T, max: T, value: T) -> T where T: PartialOrd

Caps a value inside a certain range.