Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArrayElement ¶
type ArrayElement[I constraints.Integer, V any] struct { Index I Value V }
ArrayElement is a struct to represent a key/value pair for an array-like generic type. Useful for iterators.
type Index ¶
type Index interface { constraints.Integer | constraints.Float }
Index is a type constraint for indices for array-like generic types. Defined here only for convenience and consistency across modules.
type KVPair ¶
KVPair is a struct to represent a key/value pair for a map-like generic type. Useful for iterating maps.
type Key ¶
type Key interface{ comparable }
Key is a type constraint for associative arrays, and generic map types. Defined here only for convenience and consistency across modules.
type SortableKey ¶
type SortableKey interface{ constraints.Ordered }
SortableKey is a type constraint for associative arrays, and generic types based on map, with an ordered quality. Defined here only for convenience and consistency across modules.