struct TypeShape

Defined at line 15 of file ../../tools/fidl/fidlc/src/type_shape.h

A type shape describes the wire layout of a type.

Apart from has_flexible_envelope, it does not take unknown envelopes into account.

For example, an empty table has max_handles=0 even though unknown envelopes can have handles.

Public Members

uint32_t inline_size
uint32_t alignment
uint32_t depth
uint32_t max_handles
uint32_t max_out_of_line
bool has_padding
bool has_flexible_envelope