Struct aster::ty::TyBuilder
[−]
[src]
pub struct TyBuilder<F = Identity> { // some fields omitted }
pub struct TyBuilder<F = Identity> { // some fields omitted }
impl TyBuilder
fn new() -> Self
impl<F> TyBuilder<F> where F: Invoke<P<Ty>>
fn new_with_callback(callback: F) -> Self
fn build(self, ty: P<Ty>) -> F::Result
fn span(self, span: Span) -> Self
fn build_ty_(self, ty_: Ty_) -> F::Result
fn id<I>(self, id: I) -> F::Result where I: ToIdent
fn build_path(self, path: Path) -> F::Result
fn build_qpath(self, qself: QSelf, path: Path) -> F::Result
fn path(self) -> PathBuilder<TyPathBuilder<F>>
fn qpath(self) -> QPathBuilder<TyQPathBuilder<F>>
fn isize(self) -> F::Result
fn i8(self) -> F::Result
fn i16(self) -> F::Result
fn i32(self) -> F::Result
fn i64(self) -> F::Result
fn usize(self) -> F::Result
fn u8(self) -> F::Result
fn u16(self) -> F::Result
fn u32(self) -> F::Result
fn u64(self) -> F::Result
fn unit(self) -> F::Result
fn tuple(self) -> TyTupleBuilder<F>
fn build_slice(self, ty: P<Ty>) -> F::Result
fn slice(self) -> TyBuilder<TySliceBuilder<F>>
fn ref_(self) -> TyRefBuilder<F>
fn infer(self) -> F::Result
fn option(self) -> TyBuilder<TyOptionBuilder<F>>
fn result(self) -> TyBuilder<TyResultOkBuilder<F>>
fn phantom_data(self) -> TyBuilder<TyPhantomDataBuilder<F>>
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
)