pub struct SnapshotNode<K, V> {
pub key: K,
pub revision: Revision,
pub dirty: bool,
pub value: Option<V>,
pub dependencies: Vec<SnapshotObservation<K>>,
}Expand description
One memo node inside a graph snapshot.
Fields§
§key: KThe query key.
revision: RevisionThe memo revision.
dirty: boolWhether the memo needs verification before reuse.
value: Option<V>The memoized value, when one exists.
dependencies: Vec<SnapshotObservation<K>>Dependency observations captured during the last execution, without process-local cutoff fingerprints.
Trait Implementations§
impl<K: Eq, V: Eq> Eq for SnapshotNode<K, V>
impl<K: PartialEq, V: PartialEq> StructuralPartialEq for SnapshotNode<K, V>
Auto Trait Implementations§
impl<K, V> Freeze for SnapshotNode<K, V>
impl<K, V> RefUnwindSafe for SnapshotNode<K, V>
impl<K, V> Send for SnapshotNode<K, V>
impl<K, V> Sync for SnapshotNode<K, V>
impl<K, V> Unpin for SnapshotNode<K, V>
impl<K, V> UnsafeUnpin for SnapshotNode<K, V>
impl<K, V> UnwindSafe for SnapshotNode<K, V>
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