Struct aster::ty::TyBuilder
[−]
[src]
pub struct TyBuilder<F = Identity> { /* fields omitted */ }
pub struct TyBuilder<F = Identity> { /* fields omitted */ }
impl TyBuilder
[src]fn new() -> Self
impl<F> TyBuilder<F> where F: Invoke<P<Ty>>
[src]fn with_callback(callback: F) -> Self
fn build(self, ty: P<Ty>) -> F::Result
fn span(self, span: Span) -> Self
fn build_ty_kind(self, ty_: TyKind) -> 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 f32(self) -> F::Result
fn f64(self) -> F::Result
fn bool(self) -> F::Result
fn unit(self) -> F::Result
fn tuple(self) -> TyTupleBuilder<F>
fn array(self, len: usize) -> TyBuilder<TyArrayBuilder<F>>
fn build_slice(self, ty: P<Ty>) -> F::Result
fn build_array(self, ty: P<Ty>, len: usize) -> F::Result
fn slice(self) -> TyBuilder<TySliceBuilder<F>>
fn ref_(self) -> TyRefBuilder<F>
fn never(self) -> F::Result
fn infer(self) -> F::Result
fn option(self) -> TyBuilder<TyOptionBuilder<F>>
fn result(self) -> TyBuilder<TyResultOkBuilder<F>>
fn phantom_data(self) -> TyBuilder<TyPhantomDataBuilder<F>>
fn box_(self) -> TyBuilder<TyBoxBuilder<F>>
fn iterator(self) -> TyBuilder<TyIteratorBuilder<F>>
fn object_sum(self) -> TyBuilder<TyObjectSumBuilder<F>>
fn impl_trait(self) -> TyImplTraitTyBuilder<F>