# MarkupIndexer

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/metadata/struct-markupindexer/

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

```rust
struct MarkupIndexer
```

An indexer (`this[..]` of the managed original): a property with index
parameters. Binding paths reach it with `Path[0]` / `Path[key]`.

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

## Members

- [`parameters`](#struct_field-parameters)
- [`type_`](#struct_field-type_)
- [`get`](#struct_field-get)
- [`set`](#struct_field-set)
- [`attributes`](#struct_field-attributes)

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

### parameters

```rust
parameters: &'static [TypeOf]
```

The types of the index parameters, in order.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/metadata/markup_type.rs#L670)

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

### type_

```rust
type_: TypeOf
```

The type of the values of the indexer.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/metadata/markup_type.rs#L672)

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

### get

```rust
get: Option<MarkupInvoke>
```

Reads the value: `(instance, index..) -> value`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/metadata/markup_type.rs#L674)

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

### set

```rust
set: Option<MarkupInvoke>
```

Writes the value: `(instance, index.., value)`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/metadata/markup_type.rs#L676)

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

### attributes

```rust
attributes: &'static [MarkupAttribute]
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/metadata/markup_type.rs#L677)

## Trait implementations

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

## Availability

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