I was trying to implement a tree in rust. I want to do something like
self = self.children
self.children is an array of
I try to use
Rc to wrap the
Node but failed. Is there any way to do it or is it a bad idea implementing a pointer tree in rust? I’ve read some posts and they said we should use array to build a tree instead.