Skip to main content

Module function

Module function 

Source

Structs§

AstFunction
fn foo() { }
AstFunctionEffects
AstMainFunction
print("Hello world") appearing at the top of a module. This creates an implicit fn main() { ... } later on.
AstSelfArg
VariableDecl
[mut] x: T

Enums§

AstFunctionInput