Skip to main content

struct_annotation

Function struct_annotation 

Source
pub fn struct_annotation(
    m: &Module,
    t: TypeId,
) -> Result<Option<StructAnnotation>>
Expand description

The annotation dx.typeAnnotations states for a struct type (kind 0, then pairs of a struct-typed value and its annotation: the size, one node per field, and from DXIL 1.5 a node of template arguments after them), where it states one.