struct QueryKeyStringBuilder<'p, 'c, 'tcx> {
profiler: &'p SelfProfiler,
tcx: TyCtxt<'tcx>,
string_cache: &'c mut QueryKeyStringCache,
}
Fields
profiler: &'p SelfProfiler
tcx: TyCtxt<'tcx>
string_cache: &'c mut QueryKeyStringCache
Implementations
sourceimpl<'p, 'c, 'tcx> QueryKeyStringBuilder<'p, 'c, 'tcx>
impl<'p, 'c, 'tcx> QueryKeyStringBuilder<'p, 'c, 'tcx>
fn new(
profiler: &'p SelfProfiler,
tcx: TyCtxt<'tcx>,
string_cache: &'c mut QueryKeyStringCache
) -> QueryKeyStringBuilder<'p, 'c, 'tcx>
fn def_id_to_string_id(&mut self, def_id: DefId) -> StringId
Auto Trait Implementations
impl<'p, 'c, 'tcx> !RefUnwindSafe for QueryKeyStringBuilder<'p, 'c, 'tcx>
impl<'p, 'c, 'tcx> !Send for QueryKeyStringBuilder<'p, 'c, 'tcx>
impl<'p, 'c, 'tcx> !Sync for QueryKeyStringBuilder<'p, 'c, 'tcx>
impl<'p, 'c, 'tcx> Unpin for QueryKeyStringBuilder<'p, 'c, 'tcx>
impl<'p, 'c, 'tcx> !UnwindSafe for QueryKeyStringBuilder<'p, 'c, '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