tuple

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type T2

type T2[V1, V2 any] struct {
	V1 V1
	V2 V2
}

func NewT2

func NewT2[V1, V2 any](v1 V1, v2 V2) T2[V1, V2]

func (*T2[V1, V2]) GobDecode added in v0.0.8

func (t *T2[V1, V2]) GobDecode(data []byte) error

func (*T2[V1, V2]) GobEncode added in v0.0.8

func (t *T2[V1, V2]) GobEncode() ([]byte, error)

func (*T2[V1, V2]) MarshalBinary added in v0.0.8

func (t *T2[V1, V2]) MarshalBinary() ([]byte, error)

func (T2[V1, V2]) MarshalJSON added in v0.0.5

func (t T2[V1, V2]) MarshalJSON() ([]byte, error)

func (T2[V1, V2]) MarshalText added in v0.0.8

func (t T2[V1, V2]) MarshalText() ([]byte, error)

func (*T2[V1, V2]) UnmarshalBinary added in v0.0.8

func (t *T2[V1, V2]) UnmarshalBinary(data []byte) error

func (*T2[V1, V2]) UnmarshalJSON added in v0.0.5

func (t *T2[V1, V2]) UnmarshalJSON(p []byte) error

func (*T2[V1, V2]) UnmarshalText added in v0.0.8

func (t *T2[V1, V2]) UnmarshalText(data []byte) error

func (T2[V1, V2]) Values

func (t T2[V1, V2]) Values() (V1, V2)

type T3

type T3[V1, V2, V3 any] struct {
	V1 V1
	V2 V2
	V3 V3
}

func NewT3

func NewT3[V1, V2, V3 any](v1 V1, v2 V2, v3 V3) T3[V1, V2, V3]

func (*T3[V1, V2, V3]) GobDecode added in v0.0.8

func (t *T3[V1, V2, V3]) GobDecode(data []byte) error

func (*T3[V1, V2, V3]) GobEncode added in v0.0.8

func (t *T3[V1, V2, V3]) GobEncode() ([]byte, error)

func (*T3[V1, V2, V3]) MarshalBinary added in v0.0.8

func (t *T3[V1, V2, V3]) MarshalBinary() ([]byte, error)

func (T3[V1, V2, V3]) MarshalJSON added in v0.0.5

func (t T3[V1, V2, V3]) MarshalJSON() ([]byte, error)

func (T3[V1, V2, V3]) MarshalText added in v0.0.8

func (t T3[V1, V2, V3]) MarshalText() ([]byte, error)

func (*T3[V1, V2, V3]) UnmarshalBinary added in v0.0.8

func (t *T3[V1, V2, V3]) UnmarshalBinary(data []byte) error

func (*T3[V1, V2, V3]) UnmarshalJSON added in v0.0.5

func (t *T3[V1, V2, V3]) UnmarshalJSON(p []byte) error

func (*T3[V1, V2, V3]) UnmarshalText added in v0.0.8

func (t *T3[V1, V2, V3]) UnmarshalText(data []byte) error

func (T3[V1, V2, V3]) Values

func (t T3[V1, V2, V3]) Values() (V1, V2, V3)

type T4

type T4[V1, V2, V3, V4 any] struct {
	V1 V1
	V2 V2
	V3 V3
	V4 V4
}

func NewT4

func NewT4[V1, V2, V3, V4 any](v1 V1, v2 V2, v3 V3, v4 V4) T4[V1, V2, V3, V4]

func (*T4[V1, V2, V3, V4]) GobDecode added in v0.0.8

func (t *T4[V1, V2, V3, V4]) GobDecode(data []byte) error

func (*T4[V1, V2, V3, V4]) GobEncode added in v0.0.8

func (t *T4[V1, V2, V3, V4]) GobEncode() ([]byte, error)

func (*T4[V1, V2, V3, V4]) MarshalBinary added in v0.0.8

func (t *T4[V1, V2, V3, V4]) MarshalBinary() ([]byte, error)

func (T4[V1, V2, V3, V4]) MarshalJSON added in v0.0.5

func (t T4[V1, V2, V3, V4]) MarshalJSON() ([]byte, error)

func (T4[V1, V2, V3, V4]) MarshalText added in v0.0.8

func (t T4[V1, V2, V3, V4]) MarshalText() ([]byte, error)

func (*T4[V1, V2, V3, V4]) UnmarshalBinary added in v0.0.8

func (t *T4[V1, V2, V3, V4]) UnmarshalBinary(data []byte) error

func (*T4[V1, V2, V3, V4]) UnmarshalJSON added in v0.0.5

func (t *T4[V1, V2, V3, V4]) UnmarshalJSON(p []byte) error

func (*T4[V1, V2, V3, V4]) UnmarshalText added in v0.0.8

func (t *T4[V1, V2, V3, V4]) UnmarshalText(data []byte) error

func (T4[V1, V2, V3, V4]) Values

func (t T4[V1, V2, V3, V4]) Values() (V1, V2, V3, V4)

type T5

type T5[V1, V2, V3, V4, V5 any] struct {
	V1 V1
	V2 V2
	V3 V3
	V4 V4
	V5 V5
}

func NewT5

func NewT5[V1, V2, V3, V4, V5 any](v1 V1, v2 V2, v3 V3, v4 V4, v5 V5) T5[V1, V2, V3, V4, V5]

func (*T5[V1, V2, V3, V4, V5]) GobDecode added in v0.0.8

func (t *T5[V1, V2, V3, V4, V5]) GobDecode(data []byte) error

func (*T5[V1, V2, V3, V4, V5]) GobEncode added in v0.0.8

func (t *T5[V1, V2, V3, V4, V5]) GobEncode() ([]byte, error)

func (*T5[V1, V2, V3, V4, V5]) MarshalBinary added in v0.0.8

func (t *T5[V1, V2, V3, V4, V5]) MarshalBinary() ([]byte, error)

func (T5[V1, V2, V3, V4, V5]) MarshalJSON added in v0.0.5

func (t T5[V1, V2, V3, V4, V5]) MarshalJSON() ([]byte, error)

func (T5[V1, V2, V3, V4, V5]) MarshalText added in v0.0.8

func (t T5[V1, V2, V3, V4, V5]) MarshalText() ([]byte, error)

func (*T5[V1, V2, V3, V4, V5]) UnmarshalBinary added in v0.0.8

func (t *T5[V1, V2, V3, V4, V5]) UnmarshalBinary(data []byte) error

func (*T5[V1, V2, V3, V4, V5]) UnmarshalJSON added in v0.0.5

func (t *T5[V1, V2, V3, V4, V5]) UnmarshalJSON(p []byte) error

func (*T5[V1, V2, V3, V4, V5]) UnmarshalText added in v0.0.8

func (t *T5[V1, V2, V3, V4, V5]) UnmarshalText(data []byte) error

func (T5[V1, V2, V3, V4, V5]) Values

func (t T5[V1, V2, V3, V4, V5]) Values() (V1, V2, V3, V4, V5)

type T6

type T6[V1, V2, V3, V4, V5, V6 any] struct {
	V1 V1
	V2 V2
	V3 V3
	V4 V4
	V5 V5
	V6 V6
}

func NewT6

func NewT6[V1, V2, V3, V4, V5, V6 any](v1 V1, v2 V2, v3 V3, v4 V4, v5 V5, v6 V6) T6[V1, V2, V3, V4, V5, V6]

func (*T6[V1, V2, V3, V4, V5, V6]) GobDecode added in v0.0.8

func (t *T6[V1, V2, V3, V4, V5, V6]) GobDecode(data []byte) error

func (*T6[V1, V2, V3, V4, V5, V6]) GobEncode added in v0.0.8

func (t *T6[V1, V2, V3, V4, V5, V6]) GobEncode() ([]byte, error)

func (*T6[V1, V2, V3, V4, V5, V6]) MarshalBinary added in v0.0.8

func (t *T6[V1, V2, V3, V4, V5, V6]) MarshalBinary() ([]byte, error)

func (T6[V1, V2, V3, V4, V5, V6]) MarshalJSON added in v0.0.5

func (t T6[V1, V2, V3, V4, V5, V6]) MarshalJSON() ([]byte, error)

func (T6[V1, V2, V3, V4, V5, V6]) MarshalText added in v0.0.8

func (t T6[V1, V2, V3, V4, V5, V6]) MarshalText() ([]byte, error)

func (*T6[V1, V2, V3, V4, V5, V6]) UnmarshalBinary added in v0.0.8

func (t *T6[V1, V2, V3, V4, V5, V6]) UnmarshalBinary(data []byte) error

func (*T6[V1, V2, V3, V4, V5, V6]) UnmarshalJSON added in v0.0.5

func (t *T6[V1, V2, V3, V4, V5, V6]) UnmarshalJSON(p []byte) error

func (*T6[V1, V2, V3, V4, V5, V6]) UnmarshalText added in v0.0.8

func (t *T6[V1, V2, V3, V4, V5, V6]) UnmarshalText(data []byte) error

func (T6[V1, V2, V3, V4, V5, V6]) Values

func (t T6[V1, V2, V3, V4, V5, V6]) Values() (V1, V2, V3, V4, V5, V6)

Jump to

Keyboard shortcuts

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