[−][src]Trait rustc_query_system::query::caches::QueryStorage

pub trait QueryStorage: Default {
    type Value;
    type Stored: Clone;
    pub fn store_nocache(&self, value: Self::Value) -> Self::Stored;
}

Associated Types

type Value[src]

type Stored: Clone[src]

Loading content...

Required methods

pub fn store_nocache(&self, value: Self::Value) -> Self::Stored[src]

Store a value without putting it in the cache. This is meant to be used with cycle errors.

Loading content...

Implementors

impl<'tcx, K: Eq + Hash, V: 'tcx> QueryStorage for ArenaCache<'tcx, K, V>[src]

type Value = V

type Stored = &'tcx V

impl<K: Eq + Hash, V: Clone> QueryStorage for DefaultCache<K, V>[src]

type Value = V

type Stored = V

Loading content...