Creating callback function with closure on a parameter, without “may outlive borrowed value” or “this closure implements `FnOnce`, not `Fn`”

前端 未结 0 1053
独厮守ぢ
独厮守ぢ 2020-11-28 00:48

I would like to create a callback function that has access to the argument, instanceContext, but I am not sure how to fix the code. The failing code is in

相关标签:
回答
  • 消灭零回复
提交回复
热议问题