Struct rustc_query_system::query::QueryCacheStore [−][src]
Fields
cache: Cshards: Sharded<C::Sharded>cache_hits: AtomicUsizeImplementations
impl<C: QueryCache> QueryCacheStore<C>[src]
pub(super) fn get_lookup<'tcx>(
&'tcx self,
key: &C::Key
) -> (QueryLookup, LockGuard<'tcx, C::Sharded>)[src]
&'tcx self,
key: &C::Key
) -> (QueryLookup, LockGuard<'tcx, C::Sharded>)
pub fn iter_results<R>(
&self,
f: impl for<'a> FnOnce(&'a mut dyn Iterator<Item = (&'a C::Key, &'a C::Value, DepNodeIndex)>) -> R
) -> R[src]
&self,
f: impl for<'a> FnOnce(&'a mut dyn Iterator<Item = (&'a C::Key, &'a C::Value, DepNodeIndex)>) -> R
) -> R
Trait Implementations
impl<C: QueryCache> Default for QueryCacheStore<C>[src]
Auto Trait Implementations
impl<C> !RefUnwindSafe for QueryCacheStore<C>
impl<C> Send for QueryCacheStore<C> where
C: Send,
<C as QueryCache>::Sharded: Send,
C: Send,
<C as QueryCache>::Sharded: Send,
impl<C> !Sync for QueryCacheStore<C>
impl<C> Unpin for QueryCacheStore<C> where
C: Unpin,
<C as QueryCache>::Sharded: Unpin,
C: Unpin,
<C as QueryCache>::Sharded: Unpin,
impl<C> UnwindSafe for QueryCacheStore<C> where
C: UnwindSafe,
<C as QueryCache>::Sharded: UnwindSafe,
C: UnwindSafe,
<C as QueryCache>::Sharded: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,