| ▲ | Xirdus 3 hours ago | |
Type F must be a function that's generic over any possible lifetime 'a, with a single argument that's a reference with lifetime 'a to a tuple of two numbers, and returns a reference with the same lifetime 'a to an 8-bit number. The full code is usually something like: fn foo<F>(callback: F) where for<'a> F: ... Which is a generic function foo that takes the argument of type F, where F must be... | ||