pub fn cast_ok(
source: &DataType,
target: &DataType,
allows: CastContext,
) -> bool
Expand description
Checks whether casting from source
to target
is ok in allows
context.
pub fn cast_ok(
source: &DataType,
target: &DataType,
allows: CastContext,
) -> bool
Checks whether casting from source
to target
is ok in allows
context.