Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Set ¶
type Set[T comparable] map[T]struct{}
func New ¶
func New[T comparable]() Set[T]
func NewFromIter ¶
func NewFromIter[T comparable](fromiter iter.Seq[T]) Set[T]
func NewFromSlice ¶
func NewFromSlice[T comparable](fromList []T) Set[T]
func NewWithCapacity ¶
func NewWithCapacity[T comparable](capacity uint64) Set[T]
func (Set[T]) InsertIter ¶
Click to show internal directories.
Click to hide internal directories.