> Aztec.nr API reference, v6.0.0 (mainnet and testnet). Index: https://docs.aztec.network/aztec-nr-api/v6.0.0/llms.txt

# Struct FunctionParameter

Module: `std::meta::function_def`

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

A single parameter of a [`FunctionDefinition`](/aztec-nr-api/v6.0.0/std/primitive.FunctionDefinition.md), returned from [`FunctionDefinition::parameters`](/aztec-nr-api/v6.0.0/std/primitive.FunctionDefinition.md#parameters).

## Implementations

```rust
impl FunctionParameter
```

```rust
pub comptime fn name(self) -> Quoted
```

The parameter's declared name, as a [`Quoted`](/aztec-nr-api/v6.0.0/std/primitive.Quoted.md) identifier.

```rust
pub comptime fn typ(self) -> Type
```

The parameter's declared type.
