# parts_static_name

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

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

```rust
fn parts_static_name(class: &str) -> String
```

The name of the static of the parts table of the class `class` (its full name) in
`compiled_markup`: `THEME_PARTS_` and the name in upper case, with `_` for anything that is
not a letter or a digit (`THEME_PARTS_FERROUI_THEMES_WINUI_WINUITHEME`).

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

## Availability

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