[−][src]Function pathtracer::group::count
pub fn count(list: &[Group]) -> usize
Counts the amount of child Nodes in a list of Groups.
Examples
let mut groups = Group::from_list(&[(0, 0), (100, 100)]); for group in groups.iter_mut() { group.add(50); } assert_eq!(group::count(&groups), 100);