generics_multiple_type_params

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Package = &ifacereader.Package{
	Name: "pkg1",
	Path: "pkgs/pkg1",
	Interfaces: []*ifacereader.Interface{
		{
			Name: "Thingable",
			TypeParams: []*ifacereader.TypeParam{
				{Name: "T", Type: "constraints.Complex"},
				{Name: "V", Type: "thingy.Constraint"},
			},
			Methods: []*ifacereader.Method{
				{
					Name: "Identity",
					Inputs: []*ifacereader.Tuple{
						{VariableName: "in", Type: "T"},
					},
					Outputs: []*ifacereader.Tuple{
						{VariableName: "", Type: "T"},
					},
				},
				{
					Name: "Transform",
					Inputs: []*ifacereader.Tuple{
						{VariableName: "in", Type: "T"},
					},
					Outputs: []*ifacereader.Tuple{
						{VariableName: "", Type: "V"},
					},
				},
			},
		},
	},
}

Functions

Types

This section is empty.

Jump to

Keyboard shortcuts

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