Module rustc::ty::subst [−][src]
🔬 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?
Re-exports
use hir::def_id::DefId; |
use ty; |
use ty::Lift; |
use ty::Slice; |
use ty::Ty; |
use ty::TyCtxt; |
use ty::fold::TypeFoldable; |
use ty::fold::TypeFolder; |
use ty::fold::TypeVisitor; |
use serialize; |
use serialize::Encodable; |
use serialize::Encoder; |
use serialize::Decodable; |
use serialize::Decoder; |
use syntax_pos::Span; |
use syntax_pos::DUMMY_SP; |
use rustc_data_structures::accumulate_vec::AccumulateVec; |
use rustc_data_structures::array_vec::ArrayVec; |
use core::intrinsics; |
use std::cmp::Ordering; |
use std::fmt; |
use std::marker::PhantomData; |
use std::mem; |
use std::num::NonZeroUsize; |
Structs
| Kind |
[ Experimental ] An entity in the Rust typesystem, which can be one of
several kinds (only types and lifetimes for now).
To reduce memory usage, a |
| SubstFolder |
[ Experimental ]
|
Enums
| UnpackedKind |
[ Experimental ]
|
Constants
| REGION_TAG |
[ Experimental ]
|
| TAG_MASK |
[ Experimental ]
|
| TYPE_TAG |
[ Experimental ]
|
Traits
| Subst |
[ Experimental ]
|
Type Definitions
| Substs |
[ Experimental ] A substitution mapping generic parameters to new values. |