pub struct GraphEvalCache<V> { /* private fields */ }Expand description
A cache for storing intermediate results during graph evaluation.
This cache is used to store the inputs and outputs of each node in the graph during evaluation, allowing for more efficient re-evaluation of nodes when their inputs change. If we want to save a graph’s evaluation between different evals, we need to keep track of the inputs and outputs from previous runs incase of recurrent structures. This cache is the answer to that.
Trait Implementations§
Source§impl<V: Clone> Clone for GraphEvalCache<V>
impl<V: Clone> Clone for GraphEvalCache<V>
Source§fn clone(&self) -> GraphEvalCache<V>
fn clone(&self) -> GraphEvalCache<V>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<V: Debug> Debug for GraphEvalCache<V>
impl<V: Debug> Debug for GraphEvalCache<V>
Source§impl<V: PartialEq> PartialEq for GraphEvalCache<V>
impl<V: PartialEq> PartialEq for GraphEvalCache<V>
impl<V> StructuralPartialEq for GraphEvalCache<V>
Auto Trait Implementations§
impl<V> Freeze for GraphEvalCache<V>
impl<V> RefUnwindSafe for GraphEvalCache<V>where
V: RefUnwindSafe,
impl<V> Send for GraphEvalCache<V>where
V: Send,
impl<V> Sync for GraphEvalCache<V>where
V: Sync,
impl<V> Unpin for GraphEvalCache<V>where
V: Unpin,
impl<V> UnwindSafe for GraphEvalCache<V>where
V: 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