Struct rustc_query_impl::plumbing::QueryStruct
source · pub(crate) struct QueryStruct<'tcx> {
pub try_collect_active_jobs: fn(_: QueryCtxt<'tcx>, _: &mut QueryMap) -> Option<()>,
pub alloc_self_profile_query_strings: fn(_: TyCtxt<'tcx>, _: &mut QueryKeyStringCache),
pub encode_query_results: Option<fn(_: QueryCtxt<'tcx>, _: &mut CacheEncoder<'_, 'tcx>, _: &mut Vec<(SerializedDepNodeIndex, AbsoluteBytePos)>)>,
}
Fields§
§try_collect_active_jobs: fn(_: QueryCtxt<'tcx>, _: &mut QueryMap) -> Option<()>
§alloc_self_profile_query_strings: fn(_: TyCtxt<'tcx>, _: &mut QueryKeyStringCache)
§encode_query_results: Option<fn(_: QueryCtxt<'tcx>, _: &mut CacheEncoder<'_, 'tcx>, _: &mut Vec<(SerializedDepNodeIndex, AbsoluteBytePos)>)>
Trait Implementations§
source§impl<'tcx> Clone for QueryStruct<'tcx>
impl<'tcx> Clone for QueryStruct<'tcx>
source§fn clone(&self) -> QueryStruct<'tcx>
fn clone(&self) -> QueryStruct<'tcx>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl<'tcx> Copy for QueryStruct<'tcx>
Auto Trait Implementations§
impl<'tcx> RefUnwindSafe for QueryStruct<'tcx>
impl<'tcx> Send for QueryStruct<'tcx>
impl<'tcx> Sync for QueryStruct<'tcx>
impl<'tcx> Unpin for QueryStruct<'tcx>
impl<'tcx> UnwindSafe for QueryStruct<'tcx>
Blanket Implementations§
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: 24 bytes