Items

Syntax
Item → UseDeclaration | Function | Struct | ConstantItem | Implementation

Items form a source compilation unit. The following chapters define use declarations, functions, structs, constants, and inherent implementations. Implementation block members are described in associated items, and lifetime parameter lists are specified in lifetime parameters and bounds.