Posts by galvares • 41 points
2 posts
-
1
votes2
answers93
viewsA: How to correctly iterate all records of a structure with multiple depth levels in Rust?
I created a simple recursive function to handle the problem. And everything is ok now. I don’t know what my mistake was yesterday to create this topic, but I think it was some Rust typing problem.…
-
3
votes2
answers93
viewsQ: How to correctly iterate all records of a structure with multiple depth levels in Rust?
I would like to know how to iterate correctly in Rust all the results contained in a data structure so arranged: struct Node { id: i64, nodes: Vec<Node> } Where records entered in this…