Struct rustc_middle::ich::hcx::StableHashingContext[−][src]

pub struct StableHashingContext<'a> {
    sess: &'a Session,
    definitions: &'a Definitions,
    cstore: &'a dyn CrateStore,
    pub(super) body_resolver: BodyResolver<'a>,
    hash_spans: bool,
    hash_bodies: bool,
    pub(super) node_id_hashing_mode: NodeIdHashingMode,
    raw_source_map: &'a SourceMap,
    caching_source_map: Option<CachingSourceMapView<'a>>,
}

This is the context state available during incr. comp. hashing. It contains enough information to transform DefIds and HirIds into stable DefPaths (i.e., a reference to the TyCtxt) and it holds a few caches for speeding up various things (e.g., each DefId/DefPath is only hashed once).

Fields

sess: &'a Sessiondefinitions: &'a Definitionscstore: &'a dyn CrateStorebody_resolver: BodyResolver<'a>hash_spans: boolhash_bodies: boolnode_id_hashing_mode: NodeIdHashingModeraw_source_map: &'a SourceMapcaching_source_map: Option<CachingSourceMapView<'a>>

Implementations

impl<'a> StableHashingContext<'a>[src]

fn new_with_or_without_spans(
    sess: &'a Session,
    krate: &'a Crate<'a>,
    definitions: &'a Definitions,
    cstore: &'a dyn CrateStore,
    always_ignore_spans: bool
) -> Self
[src]

The krate here is only used for mapping BodyIds to Bodys. Don’t use it for anything else or you’ll run the risk of leaking data out of the tracking system.

pub fn new(
    sess: &'a Session,
    krate: &'a Crate<'a>,
    definitions: &'a Definitions,
    cstore: &'a dyn CrateStore
) -> Self
[src]

pub fn ignore_spans(
    sess: &'a Session,
    krate: &'a Crate<'a>,
    definitions: &'a Definitions,
    cstore: &'a dyn CrateStore
) -> Self
[src]

pub fn sess(&self) -> &'a Session[src]

pub fn while_hashing_hir_bodies<F: FnOnce(&mut Self)>(
    &mut self,
    hash_bodies: bool,
    f: F
)
[src]

pub fn while_hashing_spans<F: FnOnce(&mut Self)>(
    &mut self,
    hash_spans: bool,
    f: F
)
[src]

pub fn with_node_id_hashing_mode<F: FnOnce(&mut Self)>(
    &mut self,
    mode: NodeIdHashingMode,
    f: F
)
[src]

pub fn def_path_hash(&self, def_id: DefId) -> DefPathHash[src]

pub fn local_def_path_hash(&self, def_id: LocalDefId) -> DefPathHash[src]

pub fn hash_bodies(&self) -> bool[src]

pub fn source_map(&mut self) -> &mut CachingSourceMapView<'a>[src]

pub fn is_ignored_attr(&self, name: Symbol) -> bool[src]

Trait Implementations

impl<'a> Clone for StableHashingContext<'a>[src]

impl<'__ctx, Id> HashStable<StableHashingContext<'__ctx>> for Export<Id> where
    Id: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for PlaceBase[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for CanonicalTyVarKind[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for VarDebugInfo<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for BasicBlock[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for BasicBlockData<'tcx>[src]

impl<'__ctx, O> HashStable<StableHashingContext<'__ctx>> for AssertKind<O> where
    O: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for InlineAsmOperand<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for Statement<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for StatementKind<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for RetagKind[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for FakeReadCause[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for LlvmInlineAsm<'tcx>[src]

impl<'tcx, '__ctx, R> HashStable<StableHashingContext<'__ctx>> for QueryResponse<'tcx, R> where
    R: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for Coverage[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for CopyNonOverlapping<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for Place<'tcx>[src]

impl<'__ctx, V, T> HashStable<StableHashingContext<'__ctx>> for ProjectionElem<V, T> where
    T: HashStable<StableHashingContext<'__ctx>>,
    V: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for Field[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for SourceScope[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for SourceScopeData<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for SourceScopeLocalData[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for Operand<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for Rvalue<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for QueryRegionConstraints<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for CastKind[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for AggregateKind<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for BinOp[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for NullOp[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for UnOp[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for Constant<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for ConstantKind<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for UserTypeProjections[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for UserTypeProjection[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for Promoted[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for Certainty[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for Location[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for ChalkEnvironmentAndGoal<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for AscribeUserType<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for Eq<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for Subtype<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for ProvePredicate<'tcx>[src]

impl<'__ctx, T> HashStable<StableHashingContext<'__ctx>> for Normalize<T> where
    T: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for NoSolution[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for DropckOutlivesResult<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for DtorckConstraint<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for MemberConstraint<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for CandidateStep<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for MethodAutoderefStepsResult<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for MethodAutoderefBadTy<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for NormalizationResult<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for EvaluationResult[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for OverflowError[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for Graph[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for Reveal[src]

impl<'tcx, '__ctx, N> HashStable<StableHashingContext<'__ctx>> for ImplSource<'tcx, N> where
    N: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'tcx, '__ctx, N> HashStable<StableHashingContext<'__ctx>> for ImplSourceUserDefinedData<'tcx, N> where
    N: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for LintLevelSource[src]

impl<'tcx, '__ctx, N> HashStable<StableHashingContext<'__ctx>> for ImplSourceGeneratorData<'tcx, N> where
    N: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'tcx, '__ctx, N> HashStable<StableHashingContext<'__ctx>> for ImplSourceClosureData<'tcx, N> where
    N: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'__ctx, N> HashStable<StableHashingContext<'__ctx>> for ImplSourceAutoImplData<N> where
    N: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'__ctx, N> HashStable<StableHashingContext<'__ctx>> for ImplSourceBuiltinData<N> where
    N: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'tcx, '__ctx, N> HashStable<StableHashingContext<'__ctx>> for ImplSourceObjectData<'tcx, N> where
    N: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'tcx, '__ctx, N> HashStable<StableHashingContext<'__ctx>> for ImplSourceFnPointerData<'tcx, N> where
    N: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for ImplSourceDiscriminantKindData[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for ImplSourcePointeeData[src]

impl<'tcx, '__ctx, N> HashStable<StableHashingContext<'__ctx>> for ImplSourceTraitAliasData<'tcx, N> where
    N: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for ObjectSafetyViolation[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for CodegenFnAttrs[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for MethodViolationCode[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for PointerCast[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for Adjustment<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for Adjust<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for OverloadedDeref<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for AllowTwoPhase[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for AutoBorrowMutability[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for AutoBorrow<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for CoerceUnsizedInfo[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for CustomCoerceUnsized[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for CodegenFnAttrFlags[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for BindingMode[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for CastKind[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for DefIdForest[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for GenericArgKind<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for UserSubsts<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for UserSelfTy<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for TraitDef[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for TraitSpecializationKind[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for AlwaysRequiresDrop[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for AdtSizedConstraint<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for CrateSource[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for AdtFlags[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for AssocItemContainer[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for AssocItem[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for AssocKind[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for AssociatedItems<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for UpvarPath[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for UpvarId[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for UpvarCapture<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for UpvarBorrow<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for ClosureKind[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for CrateDepKind[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for CapturedPlace<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for CaptureInfo<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for BorrowKind[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for Unevaluated<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for ConstKind<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for InferConst<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for ValTree<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for Const<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for DelaySpanBugEmitted[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for ResolvedOpaqueTy<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for ProjectionKind[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for LinkagePreference[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for GeneratorInteriorTypeCause<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for UserTypeAnnotationIndex[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for CanonicalUserTypeAnnotation<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for UserType<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for GenericParamDefKind[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for GenericParamDef[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for Generics[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for GenericPredicates<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for Instance<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for InstanceDef<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for NativeLib[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for TypeAndMut<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for FreeRegion[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for BoundRegionKind[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for BoundRegion[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for TyKind<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for ExistentialPredicate<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for TraitRef<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for ExistentialTraitRef<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for ProjectionTy<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for FnSig<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for ForeignModule[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for ParamTy[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for ParamConst[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for BoundTy[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for BoundTyKind[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for ExistentialProjection<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for ImplPolarity[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for Visibility[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for CrateVariancesMap<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for PredicateKind<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for CratePredicatesMap<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for ExternCrate[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for TraitPredicate<'tcx>[src]

impl<'__ctx, A, B> HashStable<StableHashingContext<'__ctx>> for OutlivesPredicate<A, B> where
    A: HashStable<StableHashingContext<'__ctx>>,
    B: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for SubtypePredicate<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for ProjectionPredicate<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for UniverseIndex[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for BoundConst<'tcx>[src]

impl<'__ctx, T> HashStable<StableHashingContext<'__ctx>> for WithOptConstParam<T> where
    T: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for Destructor[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for VariantFlags[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for VariantDef[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for ExternCrateSource[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for VariantDiscr[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for FieldDef[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for ReprFlags[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for ReprOptions[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for CrateInherentImpls[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for SymbolName<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for Linkage[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for SymbolExportLevel[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for ExportedSymbol<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for LibFeatures[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for AccessLevel[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for Projection<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for Scope[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for ScopeData[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for FirstStatementIndex[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for YieldData[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for LifetimeDefOrigin[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for Region[src]

impl<'__ctx, T> HashStable<StableHashingContext<'__ctx>> for Set1<T> where
    T: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for ResolveLifetimes[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for DeprecationEntry[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for Index<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for Place<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for NodeId[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for Node<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for NotConstEvaluatable[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for ExpressionOperandId[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for CounterValueReference[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for InjectedExpressionId[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for InjectedExpressionIndex[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for MappedExpressionIndex[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for CoverageKind[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for CodeRegion[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for PlaceWithHirId<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for Op[src]

impl<'__ctx, Tag, Extra> HashStable<StableHashingContext<'__ctx>> for Allocation<Tag, Extra> where
    Tag: HashStable<StableHashingContext<'__ctx>>,
    Extra: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for InitMask[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for ErrorHandled[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for CheckInAllocMsg[src]

impl<'__ctx, Tag> HashStable<StableHashingContext<'__ctx>> for Pointer<Tag> where
    Tag: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for ConstAlloc<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for ConstValue<'tcx>[src]

impl<'__ctx, Tag> HashStable<StableHashingContext<'__ctx>> for Scalar<Tag> where
    Tag: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'__ctx, Tag> HashStable<StableHashingContext<'__ctx>> for ScalarMaybeUninit<Tag> where
    Tag: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'tcx, '__ctx, V> HashStable<StableHashingContext<'__ctx>> for Canonical<'tcx, V> where
    V: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for GlobalId<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for LitToConstInput<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for LitToConstError[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for GlobalAlloc<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for Linkage[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for Visibility[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for UnsafetyViolationKind[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for UnsafetyViolationDetails[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for UnsafetyViolation[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for UnsafetyCheckResult[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for CanonicalVarValues<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for GeneratorSavedLocal[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for GeneratorLayout<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for BorrowCheckResult<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for ConstQualifs[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for ClosureRegionRequirements<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for ClosureOutlivesRequirement<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for ConstraintCategory[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for ReturnConstraint[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for ClosureOutlivesSubject<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for DestructuredConst<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for CanonicalVarInfo<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for CoverageInfo[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for SwitchTargets[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for TerminatorKind<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for Terminator<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for MirPhase[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for MirSource<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for GeneratorInfo<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for Body<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for Safety[src]

impl<'__ctx, T> HashStable<StableHashingContext<'__ctx>> for ClearCrossCrate<T> where
    T: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for CanonicalVarKind<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for SourceInfo[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for BorrowKind[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for Local[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for LocalKind[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for VarBindingForm<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for ImplicitSelfKind[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for BlockTailInfo[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for LocalDecl<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for LocalInfo<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for VarDebugInfoContents<'tcx>[src]

impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for Owner<'tcx>[src]

impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for OwnerNodes<'tcx>[src]

impl<'a> HashStable<StableHashingContext<'a>> for AllocId[src]

impl<'a, Tag> HashStable<StableHashingContext<'a>> for Relocations<Tag> where
    Tag: HashStable<StableHashingContext<'a>>, 
[src]

impl<'a> HashStable<StableHashingContext<'a>> for TyVid[src]

impl<'a> HashStable<StableHashingContext<'a>> for IntVid[src]

impl<'a> HashStable<StableHashingContext<'a>> for FloatVid[src]

impl<'a> HashStable<StableHashingContext<'a>> for AccessLevels[src]

impl<'a> HashStable<StableHashingContext<'a>> for LintLevelMap[src]

impl<'a> HashStable<StableHashingContext<'a>> for ScopeTree[src]

impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for MonoItem<'tcx>[src]

impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for CodegenUnit<'tcx>[src]

impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for AttributeMap<'tcx>[src]

impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for BindingForm<'tcx>[src]

impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for OutlivesBound<'tcx>[src]

impl<'a> HashStable<StableHashingContext<'a>> for Children[src]

impl<'a, D> HashStable<StableHashingContext<'a>> for SimplifiedTypeGen<D> where
    D: Copy + Debug + Ord + Eq + HashStable<StableHashingContext<'a>>, 
[src]

impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for LayoutError<'tcx>[src]

impl<'a> HashStable<StableHashingContext<'a>> for TraitImpls[src]

impl<'a> HashStable<StableHashingContext<'a>> for AdtDef[src]

impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for TypeckResults<'tcx>[src]

impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for TyS<'tcx>[src]

impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for Predicate<'tcx>[src]

impl<'a> HashStable<StableHashingContext<'a>> for [Attribute][src]

impl<'a, T> HashStable<StableHashingContext<'a>> for Placeholder<T> where
    T: HashStable<StableHashingContext<'a>>, 
[src]

impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for ParamEnv<'tcx>[src]

impl<'a, 'tcx, T> HashStable<StableHashingContext<'a>> for ParamEnvAnd<'tcx, T> where
    T: HashStable<StableHashingContext<'a>>, 
[src]

impl<'a, 'tcx, T> HashStable<StableHashingContext<'a>> for &'tcx List<T> where
    T: HashStable<StableHashingContext<'a>>, 
[src]

impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for GenericArg<'tcx>[src]

impl<'a> HashStable<StableHashingContext<'a>> for RegionKind[src]

impl<'a> HashStable<StableHashingContext<'a>> for RegionVid[src]

impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for ConstVid<'tcx>[src]

impl<'a, T> HashStable<StableHashingContext<'a>> for Binder<T> where
    T: HashStable<StableHashingContext<'a>>, 
[src]

impl<'tcx> HashStable<StableHashingContext<'tcx>> for BoundVar[src]

impl<'a> HashStableContext for StableHashingContext<'a>[src]

impl<'ctx> HashStableContext for StableHashingContext<'ctx>[src]

impl<'ctx> HashStableContext for StableHashingContext<'ctx>[src]

impl<'ctx> HashStableContext for StableHashingContext<'ctx>[src]

impl<'a> StableHashingContextProvider<'a> for StableHashingContext<'a>[src]

impl<'a, 'tcx, T> ToStableHashKey<StableHashingContext<'a>> for &'tcx List<T> where
    T: HashStable<StableHashingContext<'a>>, 
[src]

impl<'a> ToStableHashKey<StableHashingContext<'a>> for Scope[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for StableHashingContext<'a>

impl<'a> !Send for StableHashingContext<'a>

impl<'a> !Sync for StableHashingContext<'a>

impl<'a> Unpin for StableHashingContext<'a>

impl<'a> !UnwindSafe for StableHashingContext<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized, 
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized, 
[src]

impl<'a, T> Captures<'a> for T where
    T: ?Sized, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> MaybeResult<T> for T[src]

type Error = !

impl<T> ToOwned for T where
    T: Clone, 
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> WithConstness for T[src]