Function sql::plan::typeconv::can_cast [−][src]
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.