Struct aster::pat::PatEnumPathBuilder [] [src]

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

Methods

impl<F> PatEnumPathBuilder<F> where F: Invoke<P<Pat>>
[src]

fn with_pats<I>(self, iter: I) -> Self where I: IntoIterator<Item=P<Pat>>

fn pat(self) -> PatBuilder<Self>

fn with_ids<I, T>(self, iter: I) -> Self where I: IntoIterator<Item=T>, T: ToIdent

fn id<I>(self, id: I) -> Self where I: ToIdent

fn wild(self) -> Self

fn build(self) -> F::Result

Trait Implementations

impl<F> Invoke<P<Pat>> for PatEnumPathBuilder<F> where F: Invoke<P<Pat>>
[src]

type Result = Self

fn invoke(self, pat: P<Pat>) -> Self