Struct aster::item::ItemTupleStructBuilder
[−]
[src]
pub struct ItemTupleStructBuilder<F> { // some fields omitted }
pub struct ItemTupleStructBuilder<F> { // some fields omitted }
impl<F> ItemTupleStructBuilder<F> where F: Invoke<P<Item>>
fn generics(self) -> GenericsBuilder<Self>
fn with_tys<I>(self, iter: I) -> Self where I: IntoIterator<Item=P<Ty>>
fn ty(self) -> TyBuilder<Self>
fn field(self) -> TyBuilder<StructFieldBuilder<Self>>
fn build(self) -> F::Result
impl<F> Invoke<Generics> for ItemTupleStructBuilder<F> where F: Invoke<P<Item>>
impl<F> Invoke<P<Ty>> for ItemTupleStructBuilder<F> where F: Invoke<P<Item>>
impl<F> Invoke<StructField> for ItemTupleStructBuilder<F> where F: Invoke<P<Item>>
type Result = Self
fn invoke(self, field: StructField) -> Self
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
)