Struct aster::expr::ExprMatchArmBuilder [] [src]

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

Methods

impl<F> ExprMatchArmBuilder<F> where F: Invoke<P<Expr>>
[src]

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

fn with_arm(self, arm: Arm) -> Self

fn arm(self) -> ArmBuilder<Self>

fn build(self) -> F::Result

Trait Implementations

impl<F> Invoke<Arm> for ExprMatchArmBuilder<F> where F: Invoke<P<Expr>>
[src]

type Result = Self

fn invoke(self, arm: Arm) -> Self