# PlatformRegistrations

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-reactiveui/registration/struct-platformregistrations/

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

```rust
struct PlatformRegistrations
```

The registrations of the platform (`PlatformRegistrations`): outside a unit test runner, the
schedulers of [`RxSchedulers`](/docs/0.5.0/api/ferroui-reactiveui/struct-rxschedulers/) become the default ones.

This is the module of upstream's plain .NET target, which has no user interface; the
integration of FerroUI's user interface registers its own module, which sets the scheduler of
the dispatcher.

Deviation (DEVIATIONS.md, ReactiveUI): upstream sets the task pool scheduler to
`TaskPoolScheduler.Default`; a thread pool scheduler cannot run the single-threaded observables
(`docs/porting/reactive.md`, section 5.1), so both become the default scheduler of the thread.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/registration/platform_registrations.rs#L21)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- `Debug`
- `Default`
- `Clone`
- `Copy`
- [`IWantsToRegisterStuff`](/docs/0.5.0/api/ferroui-reactiveui/registration/trait-iwantstoregisterstuff/)

## Availability

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