Function lib_xch::public::safe_calc [] [src]

pub fn safe_calc<T: CheckedType>(
    a: &T,
    b: &T,
    op: &Operator
) -> Result<T, ErrorCases>