Function abstutil::wraparound_get

source ·
pub fn wraparound_get<T>(vec: &[T], idx: isize) -> &T