SelectionCache in rustc_trait_selection::traits::select - Rust
Description: API documentation for the Rust `SelectionCache` type in crate `rustc_trait_selection`.

Skip to main content

## SelectionCache

# Type Alias SelectionCache

Source

    pub type SelectionCache<'tcx, ENV> = WithDepNodeCache<(ENV, TraitPredicate<TyCtxt<'tcx>>), Result<Option<SelectionCandidate<'tcx>>, SelectionError<'tcx>>>;

## Aliased Type§

    pub struct SelectionCache<'tcx, ENV> { /* 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: 40 bytes