# IViewModule

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-reactiveui/builder/trait-iviewmodule/

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

```rust
trait IViewModule
```

A module that maps view models to their views, for the view location that needs no
reflection (`IViewModule`): the views of a feature, registered together.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/builder/i_view_module.rs#L7)

## Members

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

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

### register_views

```rust
fn register_views(self: &Self, locator: &DefaultViewLocator)
```

Maps the views of the module with `locator` (`RegisterViews(DefaultViewLocator)`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/builder/i_view_module.rs#L9)

## Availability

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