# RichTextPasteFormat

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-controls/rich_text/enum-richtextpasteformat/

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

```rust
enum RichTextPasteFormat
```

Chooses the clipboard representation used by a TOM paste operation.

Native TOM accepts zero for the best format or a platform clipboard format
identifier. Registered RTF identifiers vary by platform and session; this
typed policy uses FerroUI's named data formats instead of inventing a number.

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

## Members

- [`BestAvailable`](#variant-bestavailable)
- [`PlainText`](#variant-plaintext)
- [`Rtf`](#variant-rtf)

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

### BestAvailable

```rust
BestAvailable
```

Exact in-process document content, then RTF, then Unicode plain text.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/rich_text/rich_text_transfer.rs#L29)

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

### PlainText

```rust
PlainText
```

Unicode plain text only, even when a richer representation is present.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/rich_text/rich_text_transfer.rs#L31)

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

### Rtf

```rust
Rtf
```

RTF only. Missing or malformed RTF never falls back to plain text.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/rich_text/rich_text_transfer.rs#L33)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- [`ResourceKeyObject`](/docs/0.5.0/api/ferroui-base/controls/trait-resourcekeyobject/)
- [`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`
- `Copy`
- `Debug`
- `Default`
- `StructuralPartialEq`
- `PartialEq`
- `Eq`
- `Hash`

## Availability

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