Moving structure containing reference into static closure doesn't work

后端 未结 0 801
梦如初夏
梦如初夏 2020-11-29 18:11

I\'m creating a structure containing a reference and a function that gets a closure with \'static lifetime:

pub struct RefStruct<\'a> {
            


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