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