Struct aster::expr::ExprStructPathBuilder [] [src]

pub struct ExprStructPathBuilder<F> {
    // some fields omitted
}

Methods

impl<F> ExprStructPathBuilder<F> where F: Invoke<P<Expr>>

fn span(self, span: Span) -> Self

fn with_fields<I>(self, iter: I) -> Self where I: IntoIterator<Item=Field>

fn with_id_exprs<I>(self, iter: I) -> Self where I: IntoIterator<Item=(Ident, P<Expr>)>

fn field<I>(self, id: I) -> ExprBuilder<ExprStructFieldBuilder<I, F>> where I: ToIdent

fn build_with(self) -> ExprBuilder<Self>

fn build(self) -> F::Result

Trait Implementations

impl<F> Invoke<P<Expr>> for ExprStructPathBuilder<F> where F: Invoke<P<Expr>>

type Result = F::Result

fn invoke(self, expr: P<Expr>) -> F::Result