Module rustc_mir_build::build::expr::as_place [−][src]
See docs in build/expr/mod.rs
Structs
| PlaceBuilder |
|
Enums
| PlaceBase | The “outermost” place that holds this value. |
Functions
| compute_capture_idx | Computes the index of a capture within the desugared closure provided the closure’s
|
| convert_to_hir_projections_and_truncate_for_capture | Given a list of MIR projections, convert them to list of HIR ProjectionKind.
The projections are truncated to represent a path that might be captured by a
closure/generator. This implies the vector returned from this function doesn’t contain
ProjectionElems |
| find_capture_matching_projections | Given a closure, returns the index of a capture within the desugared closure struct and the
|
| is_ancestor_or_same_capture | Return true if the |
| to_upvars_resolved_place_builder | Takes a PlaceBuilder and resolves the upvar (if any) within it, so that the
|