# parse_rules

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-static-view-locator-build/options/function-parse_rules/

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

```rust
fn parse_rules(value: &str) -> Vec<ReplacementRule>
```

The rules of a list of `from=to` values; a value without `=` or with an empty `from` is left
out.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/StaticViewLocator/FerroUI.StaticViewLocator.Build/options.rs#L155)

## Availability

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