Function mz_sql::plan::typeconv::can_cast

source ·
pub fn can_cast(
    ecx: &ExprContext<'_>,
    ccx: CastContext,
    cast_from: &ScalarType,
    cast_to: &ScalarType
) -> bool
Expand description

Reports whether it is possible to perform a cast from the specified types.