pub fn events_get_distance(
    event1: &mut Event,
    event2: &mut Event
) -> Option<f64>