[−][src]Function pathfinder::group::count
pub fn count(list: &[Group]) -> usize
Counts the amount of child Nodes in a list of Groups.
Examples
use pathfinder::{group, map::network, Group}; 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);