reflect

package
v0.0.0-...-cb0a199 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PtrTo

func PtrTo(t reflect.Type) reflect.Type

Types

type Type

type Type struct {
	// contains filtered or unexported fields
}

func NewType

func NewType(rodataAddr uint64, rodata []byte, bo binary.ByteOrder, offset int32) (*Type, error)

func (*Type) Addr

func (t *Type) Addr() uintptr

func (*Type) Align

func (t *Type) Align() int

func (*Type) AssignableTo

func (t *Type) AssignableTo(u reflect.Type) bool

func (*Type) Bits

func (t *Type) Bits() int

func (*Type) ChanDir

func (t *Type) ChanDir() reflect.ChanDir

func (*Type) Comparable

func (t *Type) Comparable() bool

func (*Type) ConvertibleTo

func (t *Type) ConvertibleTo(u reflect.Type) bool

func (*Type) Elem

func (t *Type) Elem() reflect.Type

func (*Type) Field

func (t *Type) Field(i int) reflect.StructField

func (*Type) FieldAlign

func (t *Type) FieldAlign() int

func (*Type) FieldByIndex

func (t *Type) FieldByIndex(index []int) reflect.StructField

func (*Type) FieldByName

func (t *Type) FieldByName(name string) (reflect.StructField, bool)

func (*Type) FieldByNameFunc

func (t *Type) FieldByNameFunc(match func(string) bool) (reflect.StructField, bool)

func (*Type) Implements

func (t *Type) Implements(u reflect.Type) bool

func (*Type) In

func (t *Type) In(i int) reflect.Type

func (*Type) IsVariadic

func (t *Type) IsVariadic() bool

func (*Type) Key

func (t *Type) Key() reflect.Type

func (*Type) Kind

func (t *Type) Kind() reflect.Kind

func (*Type) Len

func (t *Type) Len() int

func (*Type) Method

func (t *Type) Method(i int) (m reflect.Method)

func (*Type) MethodByName

func (t *Type) MethodByName(name string) (reflect.Method, bool)

func (*Type) Name

func (t *Type) Name() string

func (*Type) NumField

func (t *Type) NumField() int

func (*Type) NumIn

func (t *Type) NumIn() int

func (*Type) NumMethod

func (t *Type) NumMethod() int

func (*Type) NumOut

func (t *Type) NumOut() int

func (*Type) Out

func (t *Type) Out(i int) reflect.Type

func (*Type) PkgPath

func (t *Type) PkgPath() string

func (*Type) Size

func (t *Type) Size() uintptr

func (*Type) String

func (t *Type) String() string

Jump to

Keyboard shortcuts

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