Expand description
Declarations: types, impl blocks, imports, constants, and extern functions.
Structs§
- Callable
- Return type and body of a callable impl.
- Constant
- A compile-time constant declaration.
- Extern
Function - Foreign function declaration (
extern fn). - Impl
Block - Makes a type callable:
impl Type -> R { body }. - Newtype
- A newtype declaration (
type Name = Inner). - Parameter
- A named, typed function parameter.
Enums§
- Declaration
- A top-level declaration.
- Parameter
List - Fixed-arity or variadic parameter list.
Type Aliases§
- Module
- A module is a sequence of declarations.