type LockedMap = HashMap<(SourceId, InternedString), Vec<(PackageId, Vec<PackageId>)>>;
Expand description
A map of all “locked packages” which is filled in when parsing a lock file and is used to guide dependency resolution by altering summaries as they’re queried from this source.
This map can be thought of as a glorified Vec<MySummary>
where MySummary
has a PackageId
for which package it represents as well as a list of
PackageId
for the resolved dependencies. The hash map is otherwise
structured though for easy access throughout this registry.
Aliased Type§
struct LockedMap { /* private fields */ }
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. 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: 48 bytes