Node
Allocate a new Node.
This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.
Allocate a new Node using the provided AutofreeScope.
The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped
.
Parameters
The AutofreeScope to allocate this structure in.
Allocate a new Node.
This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.
Parameters
contains the actual data of the node.
points to the node's next sibling (a sibling is another #GNode with the same parent).
points to the node's previous sibling.
points to the parent of the #GNode, or is null if the #GNode is the root of the tree.
points to the first child of the #GNode. The other children are accessed by using the @next pointer of each child.
Allocate a new Node using the provided AutofreeScope.
The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped
.
Parameters
contains the actual data of the node.
points to the node's next sibling (a sibling is another #GNode with the same parent).
points to the node's previous sibling.
points to the parent of the #GNode, or is null if the #GNode is the root of the tree.
points to the first child of the #GNode. The other children are accessed by using the @next pointer of each child.
The AutofreeScope to allocate this structure in.