Skip to content

Documentation / device / StructTypeDetail

Interface: StructTypeDetail ​

Defined in: libs/device/src/builder/types.ts:465

Detail informations for struct type

Properties ​

layout ​

layout: PBStructLayout

Defined in: libs/device/src/builder/types.ts:467

Layout of the struct type


structName ​

structName: string

Defined in: libs/device/src/builder/types.ts:469

Name of the struct type


structMembers ​

structMembers: object[]

Defined in: libs/device/src/builder/types.ts:471

Members of the struct type

name ​

name: string

Name of the struct member

type ​

type: PBStructTypeInfo | PBPrimitiveTypeInfo | PBArrayTypeInfo | PBAtomicI32TypeInfo | PBAtomicU32TypeInfo

Type of the struct member

alignment ​

alignment: number

Alignment of the struct member

size ​

size: number

Byte size of the struct member

Released under the MIT License.