Module rustc::ty::structural_impls [−][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?
This module contains implements of the Lift
and TypeFoldable
traits for various types in the Rust compiler. Most are written by
hand, though we've recently added some macros (e.g.,
BraceStructLiftImpl!
) to help with the tedium.
Re-exports
use middle::const_val; |
use middle::const_val::ConstVal; |
use middle::const_val::ConstEvalErr; |
use ty; |
use ty::Lift; |
use ty::Ty; |
use ty::TyCtxt; |
use ty::fold::TypeFoldable; |
use ty::fold::TypeFolder; |
use ty::fold::TypeVisitor; |
use rustc_data_structures::accumulate_vec::AccumulateVec; |
use rustc_data_structures::indexed_vec::IndexVec; |
use rustc_data_structures::indexed_vec::Idx; |
use rustc_data_structures::sync::Lrc; |
use mir::interpret; |
use std::rc::Rc; |