pub fn can_coerce_from(type_into: &DataType, type_from: &DataType) -> bool
Expand description

Return true if a value of type type_from can be coerced (losslessly converted) into a value of type_to

See the module level documentation for more detail on coercion.