Struct rustc_mir::dataflow::move_paths::MovePathLookup [−][src]
pub struct MovePathLookup {
locals: IndexVec<Local, MovePathIndex>,
projections: FxHashMap<(MovePathIndex, ProjectionElem<AbstractOperand, AbstractType>), MovePathIndex>,
}Expand description
Tables mapping from a place to its MovePathIndex.
Fields
locals: IndexVec<Local, MovePathIndex>projections: FxHashMap<(MovePathIndex, ProjectionElem<AbstractOperand, AbstractType>), MovePathIndex>projections are made from a base-place and a projection elem. The base-place will have a unique MovePathIndex; we use the latter as the index into the outer vector (narrowing subsequent search so that it is solely relative to that base-place). For the remaining lookup, we map the projection elem to the associated MovePathIndex.
Implementations
An enumerated iterator of locals and their associated
MovePathIndexes.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MovePathLookupimpl Send for MovePathLookupimpl Sync for MovePathLookupimpl Unpin for MovePathLookupimpl UnwindSafe for MovePathLookupBlanket 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: 56 bytes