Skip to content

AttributeAttribute

1 min read

No import is needed.

Read the usage guide for examples and common tasks. This reference lists the public declarations for this part of the library. See Reading API signatures for parameter and result notation.

AttributeAttribute

Declares a @name(...) attribute type. Arguments are AttributeTarget.* placements (none = anywhere); fields are the argument schema.

public struct AttributeAttribute

targets

Declaration kinds to which this attribute may be applied.

public targets: AttributeTarget[]