Struct rustc::infer::anon_types::Instantiator [−][src]
struct Instantiator<'a, 'gcx: 'tcx, 'tcx: 'a> {
infcx: &'a InferCtxt<'a, 'gcx, 'tcx>,
parent_def_id: DefId,
body_id: NodeId,
param_env: ParamEnv<'tcx>,
anon_types: AnonTypeMap<'tcx>,
obligations: Vec<PredicateObligation<'tcx>>,
}🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Fields
infcx: &'a InferCtxt<'a, 'gcx, 'tcx>
🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
parent_def_id: DefId
🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
body_id: NodeId
🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
param_env: ParamEnv<'tcx>
🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
anon_types: AnonTypeMap<'tcx>
🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
obligations: Vec<PredicateObligation<'tcx>>
🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Methods
impl<'a, 'gcx, 'tcx> Instantiator<'a, 'gcx, 'tcx>[src]
impl<'a, 'gcx, 'tcx> Instantiator<'a, 'gcx, 'tcx>fn instantiate_anon_types_in_map<T: TypeFoldable<'tcx>>(
&mut self,
value: &T
) -> T[src]
fn instantiate_anon_types_in_map<T: TypeFoldable<'tcx>>(
&mut self,
value: &T
) -> T🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn fold_anon_ty(
&mut self,
ty: Ty<'tcx>,
def_id: DefId,
substs: &'tcx Substs<'tcx>
) -> Ty<'tcx>[src]
fn fold_anon_ty(
&mut self,
ty: Ty<'tcx>,
def_id: DefId,
substs: &'tcx Substs<'tcx>
) -> Ty<'tcx>🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Auto Trait Implementations
impl<'a, 'gcx, 'tcx> !Send for Instantiator<'a, 'gcx, 'tcx>
impl<'a, 'gcx, 'tcx> !Send for Instantiator<'a, 'gcx, 'tcx>impl<'a, 'gcx, 'tcx> !Sync for Instantiator<'a, 'gcx, 'tcx>
impl<'a, 'gcx, 'tcx> !Sync for Instantiator<'a, 'gcx, 'tcx>