interfaces

package
v0.3.70-rc-7c97d20 Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeepCopier

type DeepCopier[T any] interface {
	// DeepCopy returns a deep copy of the object.
	DeepCopy() T
}

DeepCopier expresses that the object can be deep-copied.

type Equaler

type Equaler[T any] interface {
	// Returns true if both objects are equal.
	Equal(T) bool
}

Equaler expresses that objects can be compared for equality via the Equals method.

Jump to

Keyboard shortcuts

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