Skip to main content

direct_total

Function direct_total 

Source
pub fn direct_total(view: &CostView<'_>, item: &CostItem<'_>) -> f64
Expand description

Total the direct cost values of one item.

Does not recurse. Composed values (those with Components and no stated AppliedValue) contribute nothing here, because this crate does not fold an arithmetic tree whose bracketing the schema leaves undefined.