namespace Ryujinx.Common.Collections
{
///
/// Represents a node in the Red-Black Tree.
///
public class IntrusiveRedBlackTreeNode where T : IntrusiveRedBlackTreeNode
{
public bool Color = true;
public T Left;
public T Right;
public T Parent;
public T Predecessor => IntrusiveRedBlackTreeImpl.PredecessorOf((T)this);
public T Successor => IntrusiveRedBlackTreeImpl.SuccessorOf((T)this);
}
}