# ModelMembers

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-build/type_system/struct-modelmembers/

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

```rust
struct ModelMembers
```

The lazily projected part of a [`ModelType`](/docs/0.5.0/api/ferroui-build/type_system/struct-modeltype/).

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Build.Tasks/type_system/types.rs#L115)

## Members

- [`base_type`](#struct_field-base_type)
- [`interfaces`](#struct_field-interfaces)
- [`properties`](#struct_field-properties)
- [`events`](#struct_field-events)
- [`fields`](#struct_field-fields)
- [`methods`](#struct_field-methods)
- [`constructors`](#struct_field-constructors)
- [`attributes`](#struct_field-attributes)
- [`enum_underlying_type`](#struct_field-enum_underlying_type)

<a id="struct_field-base_type"></a>

### base_type

```rust
base_type: Option<std::rc::Rc<dyn IXamlType>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Build.Tasks/type_system/types.rs#L116)

<a id="struct_field-interfaces"></a>

### interfaces

```rust
interfaces: Vec<std::rc::Rc<dyn IXamlType>>
```

The interfaces the type declares (without the ones they inherit).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Build.Tasks/type_system/types.rs#L118)

<a id="struct_field-properties"></a>

### properties

```rust
properties: Vec<std::rc::Rc<ModelProperty>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Build.Tasks/type_system/types.rs#L119)

<a id="struct_field-events"></a>

### events

```rust
events: Vec<std::rc::Rc<ModelEvent>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Build.Tasks/type_system/types.rs#L120)

<a id="struct_field-fields"></a>

### fields

```rust
fields: Vec<std::rc::Rc<ModelField>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Build.Tasks/type_system/types.rs#L121)

<a id="struct_field-methods"></a>

### methods

```rust
methods: Vec<std::rc::Rc<ModelMethod>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Build.Tasks/type_system/types.rs#L122)

<a id="struct_field-constructors"></a>

### constructors

```rust
constructors: Vec<std::rc::Rc<ModelConstructor>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Build.Tasks/type_system/types.rs#L123)

<a id="struct_field-attributes"></a>

### attributes

```rust
attributes: Vec<std::rc::Rc<dyn IXamlCustomAttribute>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Build.Tasks/type_system/types.rs#L124)

<a id="struct_field-enum_underlying_type"></a>

### enum_underlying_type

```rust
enum_underlying_type: Option<std::rc::Rc<dyn IXamlType>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Build.Tasks/type_system/types.rs#L125)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- `Default`

## Availability

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