# routing

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

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

```rust
module routing
```

`ReactiveUI.Shared/Routing` and `ReactiveUI.Core/Routing`: the navigation stack of a screen and
the message bus.

- [`RoutingState`](/docs/0.5.0/api/ferroui-reactiveui/routing/struct-routingstate/): the stack of the view models of an `IScreen`, with the
  commands that navigate it and the observables of the navigation; [`RoutingStateMixins`](/docs/0.5.0/api/ferroui-reactiveui/routing/trait-routingstatemixins/)
  queries it, and [`RoutableViewModelMixins`](/docs/0.5.0/api/ferroui-reactiveui/routing/trait-routableviewmodelmixins/) tells a view model when it gains and loses the
  focus.
- [`MessageBus`](/docs/0.5.0/api/ferroui-reactiveui/routing/struct-messagebus/): messages between objects that do not know each other, by type and contract,
  with the typed operations of [`IMessageBusExt`](/docs/0.5.0/api/ferroui-reactiveui/routing/trait-imessagebusext/).

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

## Contents

- [`IMessageBusExt`](/docs/0.5.0/api/ferroui-reactiveui/routing/trait-imessagebusext/) — trait
- [`MessageBus`](/docs/0.5.0/api/ferroui-reactiveui/routing/struct-messagebus/) — struct
- [`NotAWeakReference`](/docs/0.5.0/api/ferroui-reactiveui/routing/struct-notaweakreference/) — struct
- [`RoutableViewModelMixins`](/docs/0.5.0/api/ferroui-reactiveui/routing/trait-routableviewmodelmixins/) — trait
- [`NavigateBackCommand`](/docs/0.5.0/api/ferroui-reactiveui/routing/type_alias-navigatebackcommand/) — type alias
- [`NavigateCommand`](/docs/0.5.0/api/ferroui-reactiveui/routing/type_alias-navigatecommand/) — type alias
- [`NavigationStack`](/docs/0.5.0/api/ferroui-reactiveui/routing/type_alias-navigationstack/) — type alias
- [`NavigationStackSnapshot`](/docs/0.5.0/api/ferroui-reactiveui/routing/type_alias-navigationstacksnapshot/) — type alias
- [`RoutableViewModel`](/docs/0.5.0/api/ferroui-reactiveui/routing/type_alias-routableviewmodel/) — type alias
- [`RoutingState`](/docs/0.5.0/api/ferroui-reactiveui/routing/struct-routingstate/) — struct
- [`RoutingStateMixins`](/docs/0.5.0/api/ferroui-reactiveui/routing/trait-routingstatemixins/) — trait
- [`SkipFirstObserver`](/docs/0.5.0/api/ferroui-reactiveui/routing/struct-skipfirstobserver/) — struct

## Availability

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