# StaticType

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

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

```rust
trait StaticType: 'static
```

A Rust type with an associated runtime [`TypeInfo`](/docs/0.5.0/api/ferroui-base/struct-typeinfo/).

Implemented by all classes (`ferro_class!`) and by non-instantiable
types that own attached properties (`ferro_static_type!`).

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

## Members

- [`TYPE`](#assoc_const-type)

<a id="assoc_const-type"></a>

### TYPE

```rust
const TYPE: &'static TypeInfo
```

The runtime type.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/type_system.rs#L685)

## Trait implementations

- [`StaticType`](/docs/0.5.0/api/ferroui-base/trait-statictype/)

## Availability

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