# IScreen

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-reactiveui/interfaces/trait-iscreen/

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

```rust
trait IScreen
```

An object that hosts a navigation stack through a [`RoutingState`](/docs/0.5.0/api/ferroui-reactiveui/routing/struct-routingstate/) (`IScreen`).

An application usually has one screen (its shell or main view model) that owns the router;
the view models it navigates to take the screen so that they can navigate further without
knowing the views.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/interfaces/i_screen.rs#L11)

## Members

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

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

### router

```rust
fn router(self: &Self) -> Rc<RoutingState>
```

The router of the screen, which coordinates the navigation of the view models attached to
it (`Router`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/interfaces/i_screen.rs#L14)

## Availability

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