pub enum ReevaluationRule {
Move,
CacheLast,
CacheAll,
}Variants§
Move
Always move outputs, reevaluate every time. If the receiving node takes a reference, it will be pased in, then dropped after that node evaluates.
CacheLast
If all inputs are previous inputs, don’t evaluate and just return a clone of the cached output.
CacheAll
If all inputs are equal to ANY previous input combination, don’t evaluate and just return a clone of the cached output associated with that exact set of inputs.
Trait Implementations§
Source§impl Clone for ReevaluationRule
impl Clone for ReevaluationRule
Source§fn clone(&self) -> ReevaluationRule
fn clone(&self) -> ReevaluationRule
Returns a copy 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 Debug for ReevaluationRule
impl Debug for ReevaluationRule
Source§impl PartialEq for ReevaluationRule
impl PartialEq for ReevaluationRule
impl Copy for ReevaluationRule
impl Eq for ReevaluationRule
impl StructuralPartialEq for ReevaluationRule
Auto Trait Implementations§
impl Freeze for ReevaluationRule
impl RefUnwindSafe for ReevaluationRule
impl Send for ReevaluationRule
impl Sync for ReevaluationRule
impl Unpin for ReevaluationRule
impl UnwindSafe for ReevaluationRule
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
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.