# unbox_item

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-controls/function-unbox_item/

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

```rust
fn unbox_item<T: PropertyValue>(item: &Option<ferroui_base::BoxedValue>) -> Option<T>
```

The typed value held by an item: the item itself when `T` is the untyped
value type, otherwise the contained `T`. A nullable `T` accepts native null
as its empty value; a type mismatch returns `None`.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/items_source.rs#L428)

## Availability

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