# LocalizedUnitFormatter

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-protranslate-core/trait-localizedunitformatter/

**trait** · [`ferroui-protranslate-core`](/docs/0.5.0/api/ferroui-protranslate-core/) · v0.5.0

```rust
trait LocalizedUnitFormatter
```



[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/ProTranslate/FerroUI.ProTranslate.Core/measurement.rs#L210)

## Members

- [`format`](#function-format)

<a id="function-format"></a>

### format

```rust
fn format(self: &Self, value: MeasurementValue, culture: &Culture, format: Option<&str>) -> Result<String, TranslationError>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/ProTranslate/FerroUI.ProTranslate.Core/measurement.rs#L211)

## Trait implementations

- [`LocalizedUnitFormatter`](/docs/0.5.0/api/ferroui-protranslate-core/trait-localizedunitformatter/)

## Availability

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