utype

package
v2.29.2 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Char

type Char interface {
	~byte | ~rune
}

Char is a generic character type.

type Complex

type Complex interface {
	constraints.Complex
}

Complex is a generic complex type.

type Float

type Float interface {
	constraints.Float
}

Float is a generic floating point type.

type ID

type ID interface {
	Real | Char | ~string | ~uintptr
}

ID is a generic comparable identifier type.

type Int

type Int interface {
	constraints.Signed
}

Int is a generic signed integer type.

type Integer

type Integer interface {
	Int | Uint
}

Integer is a generic integer type.

type Number

type Number interface {
	Real | Complex
}

Number is a generic type containing both Real and Complex types.

type Real

type Real interface {
	Integer | Float
}

Real is a generic type containing both floating point and integer types.

type Uint

type Uint interface {
	constraints.Unsigned
}

Uint is a generic unsigned integer type.

Jump to

Keyboard shortcuts

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