Skip to main content

between

Function between 

Source
pub fn between<T: Floor + Copy + PartialOrd>(
    from: T,
    to: T,
    part: T,
    whole: T,
) -> Option<T>