# view_for_of

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

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

```rust
fn view_for_of<VM: 'static>(view: std::rc::Rc<dyn IViewFor>) -> Option<std::rc::Rc<dyn IViewForOf<VM>>>
```

The view as an `IViewForOf<VM>` when it is typed for `VM` (`view as IViewFor<TViewModel>`),
through `IViewFor::as_view_for_of`.

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

## Availability

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