For the complete documentation index, see llms.txt.
aztec-nr - std::meta::function_def

Struct FunctionParameter

pub comptime struct FunctionParameter
{ /* private fields */ }

A single parameter of a FunctionDefinition, returned from FunctionDefinition::parameters.

Implementations

impl FunctionParameter

pub comptime fn name(self) -> Quoted

The parameter's declared name, as a Quoted identifier.

pub comptime fn typ(self) -> Type

The parameter's declared type.