Struct rustc_middle::thir::Thir [−][src]
pub struct Thir<'tcx> {
pub arms: IndexVec<ArmId, Arm<'tcx>>,
pub exprs: IndexVec<ExprId, Expr<'tcx>>,
pub stmts: IndexVec<StmtId, Stmt<'tcx>>,
}Expand description
A container for a THIR body.
This can be indexed directly by any THIR index (e.g. ExprId).
Fields
arms: IndexVec<ArmId, Arm<'tcx>>exprs: IndexVec<ExprId, Expr<'tcx>>stmts: IndexVec<StmtId, Stmt<'tcx>>Implementations
Trait Implementations
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for Thir<'tcx>impl<'tcx> !UnwindSafe for Thir<'tcx>Blanket Implementations
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 72 bytes