# FerroHeadlessPlatformExtensions

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-headless/trait-ferroheadlessplatformextensions/

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

```rust
trait FerroHeadlessPlatformExtensions
```

The `use_headless` extension of the application builder.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Headless/FerroUI.Headless/ferro_headless_platform.rs#L243)

## Members

- [`use_headless`](#function-use_headless)

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

### use_headless

```rust
fn use_headless(self: &Self, opts: FerroHeadlessPlatformOptions) -> AppBuilder
```

Uses the headless platform: its windowing subsystem, the standard
runtime platform, the HarfBuzz text shaper and, with
`use_headless_drawing`,
its rendering subsystem.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Headless/FerroUI.Headless/ferro_headless_platform.rs#L248)

## Trait implementations

- [`FerroHeadlessPlatformExtensions`](/docs/0.5.0/api/ferroui-headless/trait-ferroheadlessplatformextensions/)

## Availability

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