CompositeInspector

Inspector for composite components (structs, objects, unions, etc.).

Members

Functions

guess
TypeInfo guess(ComponentType serialized)

Guess the D type of serialized based on information available in it.

has
bool has(ComponentType component, string property)

Check if component has a field or a property.

properties
string[] properties(ComponentType component)

Return a list of properties that component holds.

typeOf
TypeInfo typeOf(ComponentType component, string property)

Identify the type of child field of component.

typeOf
TypeInfo typeOf(ComponentType component)

Identify the type of component itself.

Meta