Skip to main content

Module declaration

Module declaration 

Source
Expand description

Top-level declarations: newtypes, functions, externs, constants.

Structs§

Constant
Compile-time constant declaration.
ExternFunction
External function declaration (no body).
FunctionDefinition
Function definition with body.
Newtype
Newtype declaration: creates a distinct type wrapping another.
Parameter
A named function parameter.

Enums§

Declaration
Top-level declaration.
ParameterList
Parameter list, either fixed or variadic.

Type Aliases§

Module
A module is a list of declarations.