Struct aster::variant::VariantStructBuilder
[−]
[src]
pub struct VariantStructBuilder<F> { // some fields omitted }
pub struct VariantStructBuilder<F> { // some fields omitted }
impl<F> VariantStructBuilder<F> where F: Invoke<P<Variant>>
fn with_field(self, field: StructField) -> StructDefBuilder<Self>
fn field<T>(self, id: T) -> StructFieldBuilder<StructDefBuilder<Self>> where T: ToIdent
fn build(self) -> F::Result
impl<F> Invoke<P<StructDef>> for VariantStructBuilder<F> where F: Invoke<P<Variant>>
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
)