Interface: StructFieldInfo
One field's place in the layout, as reported by StructDef.describe.
Properties
name
readonlyname:string
offset
readonlyoffset:number
Byte offset from the start of the struct, as computed by libffi.
size
readonlysize:number
Bytes the field occupies — a pointer's worth for a pointer field.
type
readonlytype:string
The field type's name, e.g. 'type_sint32', 'u8[]', 'enum(RED, GREEN)'.