clone

package
v0.0.0-...-3f73ffe Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Maybe

func Maybe[T Cloner[T]](m maybe.Maybe[T]) maybe.Maybe[T]

func Ptr

func Ptr[T Cloner[T]](a *T) *T

func TrivialPtr

func TrivialPtr[T any](a *T) *T

Types

type Cloner

type Cloner[T any] interface {
	Clone() T
}

Jump to

Keyboard shortcuts

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