How to pattern match on `&Box` without using `as_ref`

后端 未结 0 1916
没有蜡笔的小新
没有蜡笔的小新 2020-12-19 06:57

Is there any way to pattern match on an &Box without using as_ref? Essentially, I have code like this:



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