tuple

package
v1.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2026 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Hash2

func Hash2[T any](a, b T) (hash uint64)

Types

type Tuple2

type Tuple2[T any] struct {
	A, B T
}

func (*Tuple2[T]) Hash

func (t *Tuple2[T]) Hash() (hash uint64)

type Tuple3

type Tuple3[T any] struct {
	A, B, C T
}

func (*Tuple3[T]) Hash

func (t *Tuple3[T]) Hash() (hash uint64)

func (*Tuple3[T]) Hash2

func (t *Tuple3[T]) Hash2() (hash uint64)

Same as hash but uses Tuple2[T] Size

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL