Skip to main content

Module body

Module body 

Source

StructsΒ§

BasicBlock
Body
The rustc_public’s IR representation of a single function.
ConstOperand
CopyNonOverlapping
InlineAsmOperand
LocalDecl
Place
SourceInfo
SourceScopeInfo πŸ”’
Data about a source scope, used for caller location resolution.
Statement
SwitchTargets
The possible branch sites of a TerminatorKind::SwitchInt.
Terminator
UserTypeProjection
VarDebugInfo
Debug information pertaining to a user variable.
VarDebugInfoFragment

EnumsΒ§

AggregateKind
AssertMessage
BinOp
BorrowKind
CastKind
CoroutineDesugaring
CoroutineKind
CoroutineSource
FakeBorrowKind
FakeReadCause
The FakeReadCause describes the type of pattern why a FakeRead statement exists.
MutBorrowKind
Mutability
NonDivergingIntrinsic
Operand
PointerCoercion
ProjectionElem
RawPtrKind
RuntimeChecks
Rvalue
Safety
StatementKind
TerminatorKind
UnOp
UnwindAction
VarDebugInfoContents
Variance
WithRetag
Describes what kind of retag is to be performed

ConstantsΒ§

RETURN_LOCAL

FunctionsΒ§

max_scope πŸ”’
Return the maximum scope index referenced by any terminator or statement in blocks.

Type AliasesΒ§

BasicBlockIdx
Coverage πŸ”’
The rustc coverage data structures are heavily tied to internal details of the coverage implementation that are likely to change, and are unlikely to be useful to third-party tools for the foreseeable future.
FieldIdx
The source-order index of a field in a variant.
Local
LocalDecls πŸ”’
LocalDefId πŸ”’
SourceScope
Successors
UserTypeAnnotationIndex πŸ”’