Struct calc_graph::Func7 [−][src]
pub struct Func7<C1, C2, C3, C4, C5, C6, C7, T, F> { /* fields omitted */ }
Calculates a value from 7 nodes.
Trait Implementations
impl<C1: Calc, C2: Calc, C3: Calc, C4: Calc, C5: Calc, C6: Calc, C7: Calc, T: Clone + PartialEq, F: FnMut(C1::Value, C2::Value, C3::Value, C4::Value, C5::Value, C6::Value, C7::Value) -> T> Calc for Func7<C1, C2, C3, C4, C5, C6, C7, T, F>
[src]
impl<C1: Calc, C2: Calc, C3: Calc, C4: Calc, C5: Calc, C6: Calc, C7: Calc, T: Clone + PartialEq, F: FnMut(C1::Value, C2::Value, C3::Value, C4::Value, C5::Value, C6::Value, C7::Value) -> T> Calc for Func7<C1, C2, C3, C4, C5, C6, C7, T, F>
type Value = T
The type of values calculated by the node.
fn eval(&mut self, dirty: &mut BitSet) -> (usize, T)
[src]
fn eval(&mut self, dirty: &mut BitSet) -> (usize, T)
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
fn add_dep(&mut self, seen: &mut BitSet, dep: usize)
[src]
fn add_dep(&mut self, seen: &mut BitSet, dep: usize)
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, C2, C3, C4, C5, C6, C7, T, F> Send for Func7<C1, C2, C3, C4, C5, C6, C7, T, F> where
C1: Send,
C2: Send,
C3: Send,
C4: Send,
C5: Send,
C6: Send,
C7: Send,
F: Send,
T: Send,
impl<C1, C2, C3, C4, C5, C6, C7, T, F> Send for Func7<C1, C2, C3, C4, C5, C6, C7, T, F> where
C1: Send,
C2: Send,
C3: Send,
C4: Send,
C5: Send,
C6: Send,
C7: Send,
F: Send,
T: Send,
impl<C1, C2, C3, C4, C5, C6, C7, T, F> Sync for Func7<C1, C2, C3, C4, C5, C6, C7, T, F> where
C1: Sync,
C2: Sync,
C3: Sync,
C4: Sync,
C5: Sync,
C6: Sync,
C7: Sync,
F: Sync,
T: Sync,
impl<C1, C2, C3, C4, C5, C6, C7, T, F> Sync for Func7<C1, C2, C3, C4, C5, C6, C7, T, F> where
C1: Sync,
C2: Sync,
C3: Sync,
C4: Sync,
C5: Sync,
C6: Sync,
C7: Sync,
F: Sync,
T: Sync,