Struct aster::item::ItemTupleStructBuilder [] [src]

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

Methods

impl<F> ItemTupleStructBuilder<F> where F: Invoke<P<Item>>

fn generics(self) -> GenericsBuilder<Self>

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

fn ty(self) -> TyBuilder<Self>

fn field(self) -> TyBuilder<StructFieldBuilder<Self>>

fn build(self) -> F::Result

Trait Implementations

impl<F> Invoke<Generics> for ItemTupleStructBuilder<F> where F: Invoke<P<Item>>

type Result = Self

fn invoke(self, generics: Generics) -> Self

impl<F> Invoke<P<Ty>> for ItemTupleStructBuilder<F> where F: Invoke<P<Item>>

type Result = Self

fn invoke(self, ty: P<Ty>) -> Self

impl<F> Invoke<StructField> for ItemTupleStructBuilder<F> where F: Invoke<P<Item>>

type Result = Self

fn invoke(self, field: StructField) -> Self