Attribute

A stored attribute in a class or module.

Declaration

struct Attribute

Initializers

Initializes the attribute’s definition.

Properties

A closure returning the attribute’s type annotation.

A closure returning the attribute’s initial value that is called once during the initialization of the module or class.

Conforms to