maphash

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package maphash provides temporary hash interfaces used by hash-based containers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hasher

type Hasher[T any] interface {
	Hash(*stdmaphash.Hash, T)
	Equal(x, y T) bool
}

Hasher defines a hash function and equivalence relation over values of type T. If Equal(x, y) is true, Hash must write the same representation for x and y.

Jump to

Keyboard shortcuts

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