How to write a function with lifetime constraints for fields?

前端 未结 0 1229
挽巷
挽巷 2020-12-29 00:22

In the example below, I have a lifetime constraint for the one member. The first call to set_one works, however a second call doesn\'t:



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