github.com/Mericusta/go-stp@v0.6.8/rb.go (about)

     1  package stp
     2  
     3  type rbtNode[K comparable, V any] struct {
     4  	k K
     5  	v V
     6  	c bool
     7  	l *rbtNode[K, V]
     8  	r *rbtNode[K, V]
     9  }