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

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

Methods

impl<F> PatEnumPathBuilder<F> where F: Invoke<P<Pat>>

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 build(self) -> F::Result

Trait Implementations

impl<F> Invoke<P<Pat>> for PatEnumPathBuilder<F> where F: Invoke<P<Pat>>

type Result = Self

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