1 2 3 4 5 6 7 8 9 10 11 12 13
use crate::ChangePoint; use super::*; pub(crate) fn height_stats_from_points<C>(points: &[ChangePoint<C>]) -> HeightStats { let mut stats = HeightStats::default(); for point in points { stats.observe(point.height_after); } stats }