Struct aster::struct_field::StructFieldBuilder
[−]
[src]
pub struct StructFieldBuilder<F = Identity> {
// some fields omitted
}pub struct StructFieldBuilder<F = Identity> {
// some fields omitted
}impl StructFieldBuilderimpl<F> StructFieldBuilder<F> where F: Invoke<StructField>fn named_with_callback<T>(id: T, callback: F) -> Self where T: ToIdentfn unnamed_with_callback(callback: F) -> Selffn span(self, span: Span) -> Selffn pub_(self) -> Selffn with_attrs<I>(self, iter: I) -> Self where I: IntoIterator<Item=Attribute>fn attr(self) -> AttrBuilder<Self>fn build_ty(self, ty: P<Ty>) -> F::Resultfn ty(self) -> TyBuilder<Self>impl<F> Invoke<Attribute> for StructFieldBuilder<F>impl<F> Invoke<P<Ty>> for StructFieldBuilder<F> where F: Invoke<StructField>