Versions in this module Expand all Collapse all v0 v0.2.0 Dec 2, 2026 v0.1.0 Nov 25, 2026 Changes in this version + func GenerateFields(w io.Writer, name, typ string, fields []FieldSpec) + func Layout(t reflect.Type, fields *Struct, direct bool) *values.NativeLayout + func Load(t reflect.Type, p unsafe.Pointer) values.Value + func LoadSlot(t reflect.Type, p unsafe.Pointer) values.Value + func Store(t reflect.Type, p unsafe.Pointer, v values.Value) + func StoreSlot(t reflect.Type, p unsafe.Pointer, x values.Value) + type Field struct + Get func(unsafe.Pointer) values.Value + Name string + Offset uintptr + Set func(unsafe.Pointer, values.Value) + Type reflect.Type + func (f *Field) Address(owner unsafe.Pointer) unsafe.Pointer + func (f *Field) AtOffset(offset uintptr) *Field + type FieldSpec struct + Kind reflect.Kind + Name string + Type string + type GeneratedField struct + Get func(unsafe.Pointer) values.Value + Name string + Set func(unsafe.Pointer, values.Value) + type GeneratedFields struct + Fields []GeneratedField + New func() unsafe.Pointer + Type reflect.Type + type Mode uint8 + const Automatic + const StaticOnly + func (m Mode) Select(name, want, provided string, compatible bool) bool + type Struct struct + Fields []Field + Generated bool + New func() unsafe.Pointer + Type reflect.Type + func BindFields(t reflect.Type, generated *GeneratedFields, mode Mode) *Struct + func BindSelectedFields(t reflect.Type, names []string, generated *GeneratedFields, mode Mode) *Struct + func (b *Struct) Field(name string) *Field