# InlineSnapshotKind

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-controls/documents/enum-inlinesnapshotkind/

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

```rust
enum InlineSnapshotKind
```

The structured content of an inline snapshot. Containers retain their type so
a formatting edit or an undo does not flatten the document's content tree.

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

## Members

- [`Run`](#variant-run)
- [`Span`](#variant-span)
- [`Bold`](#variant-bold)
- [`Italic`](#variant-italic)
- [`Underline`](#variant-underline)
- [`Hyperlink`](#variant-hyperlink)
- [`LineBreak`](#variant-linebreak)
- [`Embedded`](#variant-embedded)

<a id="variant-run"></a>

### Run

```rust
Run(String)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/documents/document_snapshot.rs#L49)

<a id="variant-span"></a>

### Span

```rust
Span(Vec<InlineSnapshot>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/documents/document_snapshot.rs#L50)

<a id="variant-bold"></a>

### Bold

```rust
Bold(Vec<InlineSnapshot>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/documents/document_snapshot.rs#L51)

<a id="variant-italic"></a>

### Italic

```rust
Italic(Vec<InlineSnapshot>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/documents/document_snapshot.rs#L52)

<a id="variant-underline"></a>

### Underline

```rust
Underline(Vec<InlineSnapshot>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/documents/document_snapshot.rs#L53)

<a id="variant-hyperlink"></a>

### Hyperlink

```rust
Hyperlink { inlines: Vec<InlineSnapshot>, field_id: Option<u64>, behavior: super::HyperlinkBehavior, navigate_uri: Option<String>, target_name: Option<String>, is_enabled: bool, is_tab_stop: bool, tab_index: i32, is_visited: bool, underline_style: super::UnderlineStyle }
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/documents/document_snapshot.rs#L54)

<a id="variant-linebreak"></a>

### LineBreak

```rust
LineBreak
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/documents/document_snapshot.rs#L66)

<a id="variant-embedded"></a>

### Embedded

```rust
Embedded(Option<ferroui_base::Ref<crate::Control>>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/documents/document_snapshot.rs#L67)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- [`PropertyValue`](/docs/0.5.0/api/ferroui-base/trait-propertyvalue/)
- [`AnyValue`](/docs/0.5.0/api/ferroui-base/trait-anyvalue/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- `Clone`
- `Debug`
- `StructuralPartialEq`
- `PartialEq`

## Availability

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