# IntoViewFor

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

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

```rust
trait IntoViewFor
```

A view as an `Rc<dyn IViewFor>`, whether its type is a view (`Rc<MyView>`) or a trait object of
one (`Rc<dyn IViewForOf<VM>>`, `Rc<dyn IViewFor>`): the bound of the services a view mapping
takes from the service locator
(`ViewMappingBuilder::map_from_service_locator`).

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

## Members

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

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

### into_view_for

```rust
fn into_view_for(self: Rc<Self>) -> Rc<dyn IViewFor>
```

The view as an `Rc<dyn IViewFor>`.

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

## Trait implementations

- [`IntoViewFor`](/docs/0.5.0/api/ferroui-reactiveui/binding/interfaces/trait-intoviewfor/)

## Availability

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