Module thir

Source
Expand description

Copies of the relevant THIR types. THIR represents a HIR (function) body augmented with type information and lightly desugared.

Structs§

AdtExpr
Reflects thir::AdtExpr
Arm
Reflects thir::Arm
Ascription
Reflects thir::Ascription
Block
Reflects thir::Block
FieldExpr
A field expression: a field name along with a value
FieldPat
A field pattern: a field name along with a pattern
FruInfo
Field Record Update (FRU) informations, this reflects thir::FruInfo
LocalIdent
Reflects thir::LocalVarId
Param
Reflects thir::Param
PatRange
Reflects thir::PatRange
Scope
Reflects rustc_middle::middle::region::Scope
Stmt
Reflects thir::Stmt

Enums§

AdtExprBase
BlockSafety
Reflects thir::BlockSafety
ExprKind
Reflects thir::ExprKind
LintLevel
Reflects thir::LintLevel
LogicalOp
Reflects thir::LogicalOp
PatKind
Reflects thir::PatKind
PatRangeBoundary
Reflects thir::PatRangeBoundary
ScopeData
Reflects rustc_middle::middle::region::ScopeData
StmtKind
Reflects thir::StmtKind

Traits§

ExprKindExt
HirIdExt

Type Aliases§

Expr
FirstStatementIndex
ItemLocalId
Pat
ThirBody