tiny_skia::math

Function bound

Source
pub fn bound<T: Ord + Copy>(min: T, value: T, max: T) -> T