Skip to main content

TreeTotalsRule

Trait TreeTotalsRule 

Source
pub trait TreeTotalsRule:
    Send
    + Sync
    + 'static {
    // Required method
    fn is_counted(&self, row: &TreeTotalsContext) -> bool;
}
Expand description

A rule for TreeTotals::Custom. Called for every shown row in the background.

Required Methods§

Source

fn is_counted(&self, row: &TreeTotalsContext) -> bool

Returns true if the totals count the row.

Implementors§