# InlineDictionaryEnumerator

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/utilities/struct-inlinedictionaryenumerator/

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

```rust
struct InlineDictionaryEnumerator<'a, TKey, TValue>
```

The enumerator of an [`InlineDictionary`](/docs/0.5.0/api/ferroui-base/utilities/struct-inlinedictionary/) (the original's nested
`Enumerator`). It is an `Iterator` as well.

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

## Members

- [`new`](#function-new)
- [`move_next`](#function-move_next)
- [`reset`](#function-reset)
- [`current`](#function-current)
- [`dispose`](#function-dispose)

<a id="function-new"></a>

### new

```rust
fn new(parent: &'a InlineDictionary<TKey, TValue>) -> Self
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/small_dictionary.rs#L435)

<a id="function-move_next"></a>

### move_next

```rust
fn move_next(self: &mut Self) -> bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/small_dictionary.rs#L464)

<a id="function-reset"></a>

### reset

```rust
fn reset(self: &mut Self)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/small_dictionary.rs#L496)

<a id="function-current"></a>

### current

```rust
fn current(self: &Self) -> (&'a TKey, &'a TValue)
```

The current entry.

Panics when the enumerator is not positioned on an entry.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/small_dictionary.rs#L507)

<a id="function-dispose"></a>

### dispose

```rust
fn dispose(self: &mut Self)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/small_dictionary.rs#L526)

## Trait implementations

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

## Availability

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