Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ContainsFunc ¶ added in v0.4.0
The ContainsFunc interface is satisfied by a type that implements Contains(T).
type CopyEqual ¶ added in v0.6.2
CopyEqual represents a type satisfying both EqualFunc and CopyFunc.
type CopyFunc ¶ added in v0.6.2
type CopyFunc[A any] interface { Copy() A }
CopyFunc represents a type implementing the Copy method.
type EmptyFunc ¶ added in v0.4.0
type EmptyFunc interface {
Empty() bool
}
The EmptyFunc interface is satisfied by a type that implements Empty().
type LengthFunc ¶ added in v0.4.0
type LengthFunc interface {
Len() int
}
The LengthFunc interface is satisfied by a type that implements Len().
type Map ¶
type Map[K comparable, V any] interface { ~map[K]V }
Map represents any map type where keys are comparable.
type MapEqualFunc ¶ added in v0.4.0
type MapEqualFunc[K comparable, V EqualFunc[V]] interface { ~map[K]V }
MapEqualFunc represents any map type where keys are comparable and values implement .Equal method.
type MaxFunc ¶ added in v0.6.3
type MaxFunc[T any] interface { Max() T }
MaxFunc represents a type implementing the Max method.
type MinFunc ¶ added in v0.6.3
type MinFunc[T any] interface { Min() T }
MinFunc represents a type implementing the Min method.
type Number ¶
type Number interface { constraints.Ordered constraints.Float | constraints.Integer | constraints.Complex }
Number is float, integer, or complex.
Click to show internal directories.
Click to hide internal directories.