pub type SelectionCache<'tcx> = Cache<(ParamEnv<'tcx>, TraitPredicate<'tcx>), SelectionResult<'tcx, SelectionCandidate<'tcx>>>;
Aliased Type§
struct SelectionCache<'tcx> { /* 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
Implementations
§impl<Key, Value> Cache<Key, Value>
impl<Key, Value> Cache<Key, Value>
pub fn clear(&self)
pub fn clear(&self)
Actually frees the underlying memory in contrast to what stdlib containers do on clear