Struct rustc_query_impl::QueryVtable [−][src]
pub struct QueryVtable<CTX, K, V> where
CTX: QueryContext, {
pub anon: bool,
pub dep_kind: <CTX as HasDepContext>::DepKind,
pub eval_always: bool,
pub cache_on_disk: bool,
pub compute: fn(<CTX as HasDepContext>::DepContext, K) -> V,
pub hash_result: Option<fn(&mut StableHashingContext<'_>, &V) -> Fingerprint>,
pub handle_cycle_error: fn(CTX, DiagnosticBuilder<'_>) -> V,
pub try_load_from_disk: Option<fn(CTX, SerializedDepNodeIndex) -> Option<V>>,
}Fields
anon: booldep_kind: <CTX as HasDepContext>::DepKindeval_always: boolcache_on_disk: boolcompute: fn(<CTX as HasDepContext>::DepContext, K) -> Vhash_result: Option<fn(&mut StableHashingContext<'_>, &V) -> Fingerprint>handle_cycle_error: fn(CTX, DiagnosticBuilder<'_>) -> Vtry_load_from_disk: Option<fn(CTX, SerializedDepNodeIndex) -> Option<V>>Auto Trait Implementations
impl<CTX, K, V> RefUnwindSafe for QueryVtable<CTX, K, V> where
<CTX as HasDepContext>::DepKind: RefUnwindSafe,
impl<CTX, K, V> Send for QueryVtable<CTX, K, V>
impl<CTX, K, V> Sync for QueryVtable<CTX, K, V> where
<CTX as HasDepContext>::DepKind: Sync,
impl<CTX, K, V> Unpin for QueryVtable<CTX, K, V> where
<CTX as HasDepContext>::DepKind: Unpin,
impl<CTX, K, V> UnwindSafe for QueryVtable<CTX, K, V> where
<CTX as HasDepContext>::DepKind: UnwindSafe,
Blanket Implementations
Layout
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.