Function can_safely_coerce_numeric

Source
pub fn can_safely_coerce_numeric(from: &Ty, to: &Ty) -> bool
Expand description

Return whether numeric value from can be converted into to without loss.