Structs§
- Node
- Representation of a tree node, which has an
id
, aVec
ofchildren
, as well as aWeak
reference to itsparent
- Rc
- A single-threaded reference-counting pointer. ‘Rc’ stands for ‘Reference Counted’.
- RefCell
- A mutable memory location with dynamically checked borrow rules
- Unsafe
Tree Node - Weak
Weak
is a version ofRc
that holds a non-owning reference to the managed allocation.