Documentation
¶
Index ¶
- func Del[V any](ts *TypeSet)
- func Get[V any](ts *TypeSet) (V, bool)
- func Has[V any](ts *TypeSet) bool
- func Pop[V any](ts *TypeSet) (V, bool)
- func Put[V any](ts *TypeSet, val V)
- func Swap[V any](ts *TypeSet, val V) (V, bool)
- type TypeSet
- func From(values ...any) TypeSet
- func FromMapKeys[V any](m map[any]V) TypeSet
- func FromMapValues[K comparable](m map[K]any) TypeSet
- func FromSeq(it iter.Seq[any]) TypeSet
- func FromSeq2Keys[V any](it iter.Seq2[any, V]) TypeSet
- func FromSeq2Values[K any](it iter.Seq2[K, any]) TypeSet
- func FromSlice(s []any) TypeSet
- func Make() TypeSet
- func (ts *TypeSet) Del(val any)
- func (ts *TypeSet) DelType(key ValType)
- func (ts *TypeSet) Get(val any) (any, bool)
- func (ts *TypeSet) GetType(typ ValType) (any, bool)
- func (ts *TypeSet) Has(val any) bool
- func (ts *TypeSet) HasType(typ ValType) bool
- func (ts *TypeSet) Items() map[ValType]any
- func (ts *TypeSet) Len() int
- func (ts *TypeSet) Pop(val any) (any, bool)
- func (ts *TypeSet) PopType(key ValType) (any, bool)
- func (ts *TypeSet) Put(val any)
- func (ts *TypeSet) Swap(val any) (any, bool)
- func (ts *TypeSet) SwapType(key ValType, val any) (any, bool)
- func (ts *TypeSet) UnsafeRef() map[ValType]any
- func (ts *TypeSet) Values() []any
- type ValType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TypeSet ¶
type TypeSet struct {
// contains filtered or unexported fields
}
func FromMapKeys ¶
func FromMapValues ¶
func FromMapValues[K comparable](m map[K]any) TypeSet
Click to show internal directories.
Click to hide internal directories.