# AnyValueEq

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-view/element/trait-anyvalueeq/

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

```rust
trait AnyValueEq: Any
```

A value an item of a dynamic list is compared by, to decide whether its
element is made again.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/element.rs#L264)

## Members

- [`item_equals`](#function-item_equals)
- [`item_as_any`](#function-item_as_any)

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

### item_equals

```rust
fn item_equals(self: &Self, other: &dyn AnyValueEq) -> bool
```

Whether `other` holds an equal value.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/element.rs#L266)

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

### item_as_any

```rust
fn item_as_any(self: &Self) -> &dyn Any
```

The value as `Any`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/element.rs#L268)

## Trait implementations

- [`AnyValueEq`](/docs/0.5.0/api/ferroui-view/element/trait-anyvalueeq/)

## Availability

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