pub fn can_cast_types(from_type: &DataType, to_type: &DataType) -> bool
Expand description

Return true if a value of type from_type can be cast into a value of to_type.

See cast_with_options for more information