component

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2022 License: CC0-1.0, 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 ComponentTypeId

type ComponentTypeId int

type IComponentType added in v1.3.0

type IComponentType interface {
	Id() ComponentTypeId
	New() unsafe.Pointer
	Name() string
}

type MockComponentType added in v1.3.0

type MockComponentType[T any] struct {
	// contains filtered or unexported fields
}

func NewMockComponentType added in v1.3.0

func NewMockComponentType[T any](t T, defaultVal interface{}) *MockComponentType[T]

func (*MockComponentType[T]) Id added in v1.3.0

func (*MockComponentType[T]) Name added in v1.3.0

func (m *MockComponentType[T]) Name() string

func (*MockComponentType[T]) New added in v1.3.0

func (m *MockComponentType[T]) New() unsafe.Pointer

Jump to

Keyboard shortcuts

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