# InlinesTextSource

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-controls/struct-inlinestextsource/

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

```rust
struct InlinesTextSource
```

A text source of the text runs of inlines, with optional run property
overrides for ranges of the text.

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

## Members

- [`new`](#function-new)
- [`text_runs`](#function-text_runs)

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

### new

```rust
fn new(text_runs: Rc<Vec<Rc<dyn TextRun>>>, text_modifier: Option<Rc<[ValueSpan<Rc<dyn TextRunProperties>>]>>) -> Self
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/text_block.rs#L1502)

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

### text_runs

```rust
fn text_runs(self: &Self) -> &Rc<Vec<Rc<dyn TextRun>>>
```

The text runs of the source.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/text_block.rs#L1515)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- `Clone`
- [`ITextSource`](/docs/0.5.0/api/ferroui-base/media/text_formatting/trait-itextsource/)

## Availability

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