# MemberRust

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

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

```rust
struct MemberRust
```

The Rust side of a member, which the emitter of Rust source reads next to the
contracts of the compiler (docs/porting/xaml.md, 9.5.10): the Rust types the member
declares, where the contracts have the types of the type system they map to.

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

## Members

- [`parameters`](#struct_field-parameters)
- [`declared`](#struct_field-declared)
- [`registered`](#struct_field-registered)

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

### parameters

```rust
parameters: Vec<Option<String>>
```

The declared Rust types of the parameters (of a method: without the instance),
each as the one text of its type; nothing for a parameter no declaration types.

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

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

### declared

```rust
declared: Option<DeclaredRust>
```

What the member is in its declaration; nothing for a member the type system
builds, an accessor of an indexer and the subscription of an event.

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

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

### registered

```rust
registered: Option<((usize, usize), usize)>
```

For the static field with the definition of a registered property: the property,
by the position of the type it is listed under and its position there.

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

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- [`PropertyValue`](/docs/0.5.0/api/ferroui-base/trait-propertyvalue/)
- [`AnyValue`](/docs/0.5.0/api/ferroui-base/trait-anyvalue/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- `Clone`
- `Debug`
- `Default`
- `StructuralPartialEq`
- `PartialEq`
- `Eq`

## Availability

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