Type Alias rustc_infer::traits::SelectionCache
source · pub type SelectionCache<'tcx> = Cache<(ParamEnv<'tcx>, TraitPredicate<'tcx>), Result<Option<SelectionCandidate<'tcx>>, SelectionError<'tcx>>>;
Aliased Type§
struct SelectionCache<'tcx> {
hashmap: Lock<HashMap<(ParamEnv<'tcx>, TraitPredicate<'tcx>), WithDepNode<Result<Option<SelectionCandidate<'tcx>>, SelectionError<'tcx>>>, BuildHasherDefault<FxHasher>>>,
}
Fields§
§hashmap: Lock<HashMap<(ParamEnv<'tcx>, TraitPredicate<'tcx>), WithDepNode<Result<Option<SelectionCandidate<'tcx>>, SelectionError<'tcx>>>, BuildHasherDefault<FxHasher>>>
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: 40 bytes