# FerroPropertyValue

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/diagnostics/struct-ferropropertyvalue/

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

```rust
struct FerroPropertyValue
```

Holds diagnostic-related information about the value of a
[`FerroProperty`](/docs/0.5.0/api/ferroui-base/struct-ferroproperty/) on a `FerroObject`.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/diagnostics/ferro_property_value.rs#L9)

## Members

- [`property`](#function-property)
- [`value`](#function-value)
- [`priority`](#function-priority)
- [`diagnostic`](#function-diagnostic)
- [`is_overridden_current_value`](#function-is_overridden_current_value)

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

### property

```rust
fn property(self: &Self) -> &'static FerroProperty
```

Gets the property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/diagnostics/ferro_property_value.rs#L29)

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

### value

```rust
fn value(self: &Self) -> &BoxedValue
```

Gets the current property value: a value of the type of the property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/diagnostics/ferro_property_value.rs#L34)

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

### priority

```rust
fn priority(self: &Self) -> BindingPriority
```

Gets the priority of the current value.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/diagnostics/ferro_property_value.rs#L39)

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

### diagnostic

```rust
fn diagnostic(self: &Self) -> Option<&str>
```

Gets a diagnostic string.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/diagnostics/ferro_property_value.rs#L44)

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

### is_overridden_current_value

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

Gets a value indicating whether the `value` was
overridden by a call to
`FerroObject::set_current_value`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/diagnostics/ferro_property_value.rs#L51)

## 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`

## Availability

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