# TextStyleOverrides

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-controls/presenters/type_alias-textstyleoverrides/

**type alias** · [`ferroui-controls`](/docs/0.5.0/api/ferroui-controls/) · v0.5.0

```rust
type TextStyleOverrides = std::rc::Rc<[ferroui_base::utilities::ValueSpan<std::rc::Rc<dyn TextRunProperties>>]>
```

Immutable range formatting for the same UTF-16 positions used by
`TextLayout`, the caret, selection and input methods. Replace the collection
when its ranges or run properties change. A span supplies complete run
properties; unspanned text uses the control's defaults.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/presenters/text_presenter.rs#L34)

## Availability

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