1 2 3 4 5 6 7 8 9
use super::TickQueueRef; /// Help infer the right trait bound for closure. pub fn queue_ref<I, O, F>(f: F) -> F where F: for<'a> FnMut(TickQueueRef<'a, I>) -> O, { f }