Documentation
¶
Overview ¶
Package constraints provides constraints for generic iterator helpers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cloneable ¶
type Cloneable[T any] interface { Clone() T }
Cloneable is a type that can be cloned.
type ComparableByEqual ¶
ComparableByEqual is a type that can be compared by the Equal method.
type OrderedByCompare ¶
OrderedByCompare is a type that can be ordered by the Compare method.
type OrderedByLess ¶
OrderedByLess is a type that can be ordered by the Less method.
type Predicate2 ¶
Predicate2 is a function that takes arguments of type T1 and T2 and returns a bool.
Click to show internal directories.
Click to hide internal directories.