Skip to main content

count_elements

Function count_elements 

Source
pub fn count_elements<F>(element: &ChartElement, predicate: &F) -> usize
where F: Fn(&ChartElement) -> bool,
Expand description

Count elements in the tree matching a predicate.