Home | History | Annotate | Download | only in reflect

Lines Matching refs:StructField

150 	Field(i int) StructField
156 FieldByIndex(index []int) StructField
160 FieldByName(name string) (StructField, bool)
174 FieldByNameFunc(match func(string) bool) (StructField, bool)
424 type structField struct {
430 func (f *structField) offset() uintptr {
434 func (f *structField) anon() bool {
442 fields []structField // sorted by offset
961 func (t *rtype) Field(i int) StructField {
969 func (t *rtype) FieldByIndex(index []int) StructField {
977 func (t *rtype) FieldByName(name string) (StructField, bool) {
985 func (t *rtype) FieldByNameFunc(match func(string) bool) (StructField, bool) {
1132 // A StructField describes a single field in a struct.
1133 type StructField struct {
1229 func (t *structType) Field(i int) (f StructField) {
1260 func (t *structType) FieldByIndex(index []int) (f StructField) {
1283 func (t *structType) FieldByNameFunc(match func(string) bool) (result StructField, ok bool) {
1346 return StructField{}, false
1389 func (t *structType) FieldByName(name string) (f StructField, present bool) {
2383 func StructOf(fields []StructField) Type {
2392 fs = make([]structField, len(fields))
2800 func runtimeStructField(field StructField) structField {
2818 return structField{