# PathFunctionArgument

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/data/enum-pathfunctionargument/

**enum** · [`ferroui-base`](/docs/0.5.0/api/ferroui-base/) · v0.5.0

```rust
enum PathFunctionArgument
```

An argument of a function element (`CompiledBindingPathBuilder::function`).

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/data/compiled_binding_path.rs#L57)

## Members

- [`Path`](#variant-path)
- [`Value`](#variant-value)

<a id="variant-path"></a>

### Path

```rust
Path(CompiledBindingPath)
```

A path, read from the root source of the expression (the value of its first node: the
root of `{x:Bind}`). Unless the binding is `OneTime`, the function is called again when
the value of the path changes.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/data/compiled_binding_path.rs#L61)

<a id="variant-value"></a>

### Value

```rust
Value(Option<crate::BoxedValue>)
```

A constant (a literal of the markup); `None` is null.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/data/compiled_binding_path.rs#L63)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- `ErasedDestructor`
- `IntoEither`
- `Clone`

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
