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