Skip to main content

Module expressions

Module expressions 

Source
Expand description

Implements expressions: paths, operands, rvalues, lvalues

Enums§

AggregateKind
An aggregated ADT.
BinOp
Binary operations.
BorrowKind
CastKind
Cast the operand to a new type.
NullOp
Nullary operation
Operand
OverflowMode
Rvalue
An expression that evaluates to a value. This is the RHS of an assignment.
UnOp
Unary operation
UnsizingMetadata
WithRetag
Used for Rvalue::Use to indicate whether the operand should be retagged (this is used for Rust’s aliasing model).

Type Aliases§

MetadataPath
For Unsize and Concretize casts, the fields to follow from the cast value to the built-in pointer whose metadata is changed, e.g. [ptr, pointer] for Rc<T>. Empty for built-in pointers.