# unit_static_path

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-build/theme_roots/function-unit_static_path/

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

```rust
fn unit_static_path(table_path: &str, index: u32) -> String
```

The path of the static of the unit `index` of the theme whose table of all units is
`table_path` (`::crate::compiled_xaml::THEME_UNITS` gives `::crate::compiled_xaml::THEME_UNIT_<index>`).

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Build.Tasks/theme_roots.rs#L331)

## Availability

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