Struct aster::struct_def::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 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>
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct, enum,
trait, typedef (or
tdef).
Search functions by type signature (e.g.
vec -> usize)