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
sourceimpl<'tcx> Clone for QueryStruct<'tcx>
impl<'tcx> Clone for QueryStruct<'tcx>
sourcefn clone(&self) -> QueryStruct<'tcx>
fn clone(&self) -> QueryStruct<'tcx>
Returns a copy of the value. Read more
1.0.0 · sourcefn 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<CTX, T> Value<CTX> for Twhere
CTX: DepContext,
impl<CTX, T> Value<CTX> for Twhere
CTX: DepContext,
default fn from_cycle_error(tcx: CTX) -> T
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