# LinuxFramebufferPlatformOptions

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-linuxframebuffer/struct-linuxframebufferplatformoptions/

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

```rust
struct LinuxFramebufferPlatformOptions
```

Platform-specific options which apply to the Linux framebuffer.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Linux/FerroUI.LinuxFramebuffer/linux_framebuffer_platform_options.rs#L6)

## Members

- [`fps`](#struct_field-fps)
- [`should_render_on_ui_thread`](#struct_field-should_render_on_ui_thread)

<a id="struct_field-fps"></a>

### fps

```rust
fps: i32
```

Gets or sets the number of frames per second at which the renderer
should run. Default 60.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Linux/FerroUI.LinuxFramebuffer/linux_framebuffer_platform_options.rs#L9)

<a id="struct_field-should_render_on_ui_thread"></a>

### should_render_on_ui_thread

```rust
should_render_on_ui_thread: bool
```

Render directly on the UI thread instead of using a dedicated
render thread. This can be usable if your device don't have
multiple cores to begin with. This setting is false by default.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Linux/FerroUI.LinuxFramebuffer/linux_framebuffer_platform_options.rs#L14)

## 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/)
- `Clone`
- `Copy`
- `Debug`
- `StructuralPartialEq`
- `PartialEq`
- `Eq`
- `Default`
- `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/).
