Struct calc_graph::Update1[][src]

pub struct Update1<C1, T, F> { /* fields omitted */ }

Calculates a value from the value currently in this node and another node.

Trait Implementations

impl<C1: Calc, T: Clone, F: FnMut(&mut T, C1::Value) -> bool> Calc for Update1<C1, T, F>
[src]

The type of values calculated by the node.

Returns the value held within the node and the version number of the inputs used to calcuate that value. The value is recalculated if needed. Read more

When this node is used as a precedent, add_dep is called by dependent nodes when they are created. Read more

Auto Trait Implementations

impl<C1, T, F> Send for Update1<C1, T, F> where
    C1: Send,
    F: Send,
    T: Send

impl<C1, T, F> Sync for Update1<C1, T, F> where
    C1: Sync,
    F: Sync,
    T: Sync