# ferroui_headless

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

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

```rust
module ferroui_headless
```

The headless platform.

An application runs without a screen: its windows are sized and
activated like the windows of a desktop platform, input is simulated
through the extensions of a top-level ([`HeadlessWindowExtensions`](/docs/0.5.0/api/ferroui-headless/trait-headlesswindowextensions/)) and
frames are rendered when the render timer ticks, which a test can force
(`FerroHeadlessPlatform::force_render_timer_tick`).

With the headless drawing (the default of
[`FerroHeadlessPlatformOptions`](/docs/0.5.0/api/ferroui-headless/struct-ferroheadlessplatformoptions/)) nothing is drawn: geometries behave
like their bounds and bitmaps have a size and no content. With another
rendering backend the frames of a window are kept, and
`HeadlessWindowExtensions::get_last_rendered_frame` returns the last
one.

An application uses the platform with
`FerroHeadlessPlatformExtensions::use_headless` on its builder.

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

## Contents

- [`FerroHeadlessPlatform`](/docs/0.5.0/api/ferroui-headless/struct-ferroheadlessplatform/) — struct
- [`FerroHeadlessPlatformExtensions`](/docs/0.5.0/api/ferroui-headless/trait-ferroheadlessplatformextensions/) — trait
- [`FerroHeadlessPlatformOptions`](/docs/0.5.0/api/ferroui-headless/struct-ferroheadlessplatformoptions/) — struct
- [`FerroTestApplicationAttribute`](/docs/0.5.0/api/ferroui-headless/struct-ferrotestapplicationattribute/) — struct
- [`FerroTestIsolationAttribute`](/docs/0.5.0/api/ferroui-headless/struct-ferrotestisolationattribute/) — struct
- [`FerroTestIsolationLevel`](/docs/0.5.0/api/ferroui-headless/enum-ferrotestisolationlevel/) — enum
- [`FerroTestAssembly`](/docs/0.5.0/api/ferroui-headless/struct-ferrotestassembly/) — struct
- [`HeadlessUnitTestSession`](/docs/0.5.0/api/ferroui-headless/struct-headlessunittestsession/) — struct
- [`HeadlessUnitTestTask`](/docs/0.5.0/api/ferroui-headless/struct-headlessunittesttask/) — struct
- [`HeadlessWindowExtensions`](/docs/0.5.0/api/ferroui-headless/trait-headlesswindowextensions/) — trait
- [`IHeadlessTouchPointer`](/docs/0.5.0/api/ferroui-headless/trait-iheadlesstouchpointer/) — trait

## Availability

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