If this were normal Rust, we'd just accept a closure (e.g. a Box<dyn Fn(...)> or by being generic over any function-like type) and be done ...
確定! 回上一頁