# ObservedChangedMixins

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-reactiveui/binding/observable_for_property/trait-observedchangedmixins/

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

```rust
trait ObservedChangedMixins<S, V>: IObservedChange<S, V>
```

The name and the value of one change (`ObservedChangedMixins`); implemented for every
[`IObservedChange`](/docs/0.5.0/api/ferroui-reactiveui/binding/interfaces/trait-iobservedchange/).

Upstream reads the value again by reflection when the change carries the default value; a
change of the port always carries its value, so `get_value` and `get_value_or_default` give it.
`SetValueToProperty` (writing the value through a property chain by reflection) is not ported.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/binding/observable_for_property/observed_changed_mixins.rs#L27)

## Members

- [`get_property_name`](#function-get_property_name)
- [`get_value`](#function-get_value)
- [`get_value_or_default`](#function-get_value_or_default)

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

### get_property_name

```rust
fn get_property_name(self: &Self) -> String
```

The path of the property that changed (`GetPropertyName()`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/binding/observable_for_property/observed_changed_mixins.rs#L29)

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

### get_value

```rust
fn get_value(self: &Self) -> V
where V: Clone
```

The value of the change (`GetValue()`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/binding/observable_for_property/observed_changed_mixins.rs#L34)

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

### get_value_or_default

```rust
fn get_value_or_default(self: &Self) -> V
where V: Clone
```

The value of the change (`GetValueOrDefault()`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/binding/observable_for_property/observed_changed_mixins.rs#L42)

## Trait implementations

- [`ObservedChangedMixins<S, V>`](/docs/0.5.0/api/ferroui-reactiveui/binding/observable_for_property/trait-observedchangedmixins/)

## Availability

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