Struct aster::item::ItemStructBuilder
[−]
[src]
pub struct ItemStructBuilder<F> { // some fields omitted }
pub struct ItemStructBuilder<F> { // some fields omitted }
impl<F> ItemStructBuilder<F> where F: Invoke<P<Item>>
fn generics(self) -> GenericsBuilder<Self>
fn with_fields<I>(self, iter: I) -> StructDefBuilder<Self> where I: IntoIterator<Item=StructField>
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<Generics> for ItemStructBuilder<F> where F: Invoke<P<Item>>
impl<F> Invoke<P<StructDef>> for ItemStructBuilder<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
)