# StringFormatMultiValueConverter

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/data/converters/struct-stringformatmultivalueconverter/

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

```rust
struct StringFormatMultiValueConverter
```

A multi-value converter which formats the values with a composite format
string (see `composite_format`).

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

## Members

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

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

### new

```rust
fn new(format: impl Into<String>, inner: Option<Rc<dyn IMultiValueConverter>>) -> Self
```

Creates a string format multi-value converter.

`format` is the format string; `inner` is an optional inner converter
to be called before the format takes place.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/data/converters/string_format_multi_value_converter.rs#L21)

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

### inner

```rust
fn inner(self: &Self) -> Option<&Rc<dyn IMultiValueConverter>>
```

Gets an inner value converter which will be called before the string
format takes place.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/data/converters/string_format_multi_value_converter.rs#L27)

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

### format

```rust
fn format(self: &Self) -> &str
```

Gets the format string.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/data/converters/string_format_multi_value_converter.rs#L32)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- [`AnyValue`](/docs/0.5.0/api/ferroui-base/trait-anyvalue/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ErasedDestructor`
- `IntoEither`
- [`IMultiValueConverter`](/docs/0.5.0/api/ferroui-base/data/converters/trait-imultivalueconverter/)
- `PartialEq`
- [`MarkupTyped`](/docs/0.5.0/api/ferroui-base/metadata/trait-markuptyped/)
- [`ValueTypeRegistration`](/docs/0.5.0/api/ferroui-base/data/core/trait-valuetyperegistration/)

## Availability

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