How to manage the lifetime of a tree with boxes?

后端 未结 0 1656
臣服心动
臣服心动 2020-12-10 04:51

I have a tree implementation that uses Boxes to store nodes in the heap:

struct Node {
    sub: Option&l         


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