pub fn num_cast<I, O>(value: I) -> Option<O>where I: NumCast, O: NumCast,
Natural cast between numeric types Return None if the input value can’t be casted to type O.
value
O