RBNode.right

inout(RBNode) * right() @property inout return scope

Get the right child

Node right(return scope Node newNode) @property @trusted

Set the right child. Also updates the new child's parent node. This does not update the previous child.

Warning: If the node this is called on is a local variable, a stack pointer can be

escaped through newNode.parent. It's marked @trusted only for backwards compatibility.

Returns newNode