pub fn snap(
scale: &TimeScale,
time: f64,
targets: &SnapTargets,
reach: f64,
) -> (f64, Snapped)Expand description
time snapped: to the nearest point within reach seconds, else to the
grid when there is one, else onto the scale’s units.