pub fn get_lane_entry<T, F: Fn(&LaneEntry) -> Option<T>>(
    v: &[Arc<LaneEntry>],
    predicate: &F
) -> Option<T>