pub struct Key {
pub value: ReuseKey,
pub eval_def_hash: DefinitionHash,
pub fingerprints: BTreeMap<ArtifactName, Fingerprint>,
pub artifact_kinds: BTreeMap<ArtifactName, ArtifactKind>,
}Expand description
An eval’s reuse key: hash(evaluation criteria, sorted (name, fingerprint) of the Artifacts it depends on).
Fields§
§value: ReuseKey§eval_def_hash: DefinitionHash§fingerprints: BTreeMap<ArtifactName, Fingerprint>Each Artifact the eval depends on, its target included, with its fingerprint.
artifact_kinds: BTreeMap<ArtifactName, ArtifactKind>Trait Implementations§
impl Eq for Key
impl StructuralPartialEq for Key
Auto Trait Implementations§
impl Forget for Key
impl Freeze for Keywhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const LeafNode<ArtifactName, Fingerprint> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(ArtifactName, Fingerprint)>>: Freeze,
*const LeafNode<ArtifactName, ArtifactKind> is !null: Freeze,
PhantomData<Box<(ArtifactName, ArtifactKind)>>: Freeze,
impl Move for Key
impl RefUnwindSafe for Key
impl Send for Keywhere
RawVecInner: Send,
NodeRef<Owned, ArtifactName, Fingerprint, LeafOrInternal>: Send,
BoxRaw<(ArtifactName, Fingerprint)>: Send,
NodeRef<Owned, ArtifactName, ArtifactKind, LeafOrInternal>: Send,
BoxRaw<(ArtifactName, ArtifactKind)>: Send,
impl Sync for Keywhere
RawVecInner: Sync,
NodeRef<Owned, ArtifactName, Fingerprint, LeafOrInternal>: Sync,
BoxRaw<(ArtifactName, Fingerprint)>: Sync,
NodeRef<Owned, ArtifactName, ArtifactKind, LeafOrInternal>: Sync,
BoxRaw<(ArtifactName, ArtifactKind)>: Sync,
impl Unpin for Keywhere
*const u8 is !null: Unpin,
*const LeafNode<ArtifactName, Fingerprint> is !null: Unpin,
Box<(ArtifactName, Fingerprint)>: Unpin,
*const LeafNode<ArtifactName, ArtifactKind> is !null: Unpin,
Box<(ArtifactName, ArtifactKind)>: Unpin,
impl UnsafeUnpin for Keywhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<ArtifactName, Fingerprint> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(ArtifactName, Fingerprint)>>: UnsafeUnpin,
*const LeafNode<ArtifactName, ArtifactKind> is !null: UnsafeUnpin,
PhantomData<Box<(ArtifactName, ArtifactKind)>>: UnsafeUnpin,
impl UnwindSafe for Keywhere
RawVecInner: UnwindSafe,
BTreeMap<ArtifactName, Fingerprint>: UnwindSafe,
BTreeMap<ArtifactName, ArtifactKind>: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.