7 pub trait AsExpression<T> {
8 type Expression: Expression<SqlType = T>;
9 fn as_expression(self) -> Self::Expression;
12 // @has foo/type.AsExprOf.html
13 // @has - '//pre[@class="rust typedef"]' 'type AsExprOf<Item, Type> = <Item as AsExpression<Type>>::Expression;'
14 pub type AsExprOf<Item, Type> = <Item as AsExpression<Type>>::Expression;