Function tidb_query_expr::impl_cast::cast_enum_as_int[][src]

fn cast_enum_as_int(
    ctx: &mut EvalContext,
    val: Option<EnumRef<'_>>
) -> Result<Option<Int>>