Struct aster::item::ItemEnumBuilder
[−]
[src]
pub struct ItemEnumBuilder<F> { // some fields omitted }
pub struct ItemEnumBuilder<F> { // some fields omitted }
impl<F> ItemEnumBuilder<F> where F: Invoke<P<Item>>
fn generics(self) -> GenericsBuilder<Self>
fn with_variants<I>(self, iter: I) -> Self where I: IntoIterator<Item=P<Variant>>
fn with_variant(self, variant: P<Variant>) -> Self
fn with_variant_(self, variant: Variant_) -> Self
fn ids<I, T>(self, ids: I) -> Self where I: IntoIterator<Item=T>, T: ToIdent
fn id<T>(self, id: T) -> Self where T: ToIdent
fn tuple<T>(self, id: T) -> VariantTupleBuilder<Self> where T: ToIdent
fn struct_<T>(self, id: T) -> StructDefBuilder<VariantStructBuilder<Self>> where T: ToIdent
fn variant<T>(self, id: T) -> VariantBuilder<Self> where T: ToIdent
fn build(self) -> F::Result
impl<F> Invoke<Generics> for ItemEnumBuilder<F> where F: Invoke<P<Item>>
impl<F> Invoke<P<Variant>> for ItemEnumBuilder<F> where F: Invoke<P<Item>>
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
)