Struct calc_graph::Inspect[][src]

pub struct Inspect<C, F> { /* fields omitted */ }

Provides the opportunity to inspect a node's value without changing it.

Trait Implementations

impl<C: Calc, F: FnMut(&C::Value)> Calc for Inspect<C, F>
[src]

The type of values calculated by the node.

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

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

Auto Trait Implementations

impl<C, F> Send for Inspect<C, F> where
    C: Send,
    F: Send

impl<C, F> Sync for Inspect<C, F> where
    C: Sync,
    F: Sync