# FerroHeadlessPlatform

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

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

```rust
struct FerroHeadlessPlatform
```

The headless platform.

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

## Members

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

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

### force_render_timer_tick

```rust
fn force_render_timer_tick(count: i32)
```

Forces renderer to process a rendering timer tick.
Use this method before calling
`get_last_rendered_frame`.

`count` is the count of frames to be ticked on the timer (1 in the
original when it is not given).
## Panics
Panics if the render timer is not the headless one and the
compositor is not initialized (`InvalidOperationException`).

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

## Trait implementations

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

## Availability

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