# PathFunctionInvoke

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/data/type_alias-pathfunctioninvoke/

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

```rust
type PathFunctionInvoke = std::rc::Rc<dyn Fn(&crate::BoxedValue, &[Option<crate::BoxedValue>]) -> Result<Option<crate::BoxedValue>, crate::data::BindingError>>
```

Calls the function of a function element: the owner (the value the path before the
element produced; for a static function, the root source, which it ignores) and the
values of the arguments. `Err` is the failure of the call (an argument that is not of
the type the function declares, or the function failing).

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

## Availability

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