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

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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.