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 Freeze for Key
impl RefUnwindSafe for Key
impl Send for Key
impl Sync for Key
impl Unpin for Key
impl UnsafeUnpin for Key
impl UnwindSafe for Key
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.