# ITemplate

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/styling/trait-itemplate/

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

```rust
trait ITemplate
```

Creates an object on demand: the untyped view of a template.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/styling/i_template.rs#L4)

## Members

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

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

### build

```rust
fn build(self: &Self) -> BoxedValue
```

Builds the object.

When the template is the value of a `Setter`, the
result must hold exactly the value type of the setter's property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/styling/i_template.rs#L9)

## Availability

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