# FerroObjectDiagnosticExtensions

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/diagnostics/trait-ferroobjectdiagnosticextensions/

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

```rust
trait FerroObjectDiagnosticExtensions
```

Defines diagnostic extensions on [`FerroObject`](/docs/0.5.0/api/ferroui-base/struct-ferroobject/)s.

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

## Members

- [`get_diagnostic`](#function-get_diagnostic)
- [`get_value_store_diagnostic`](#function-get_value_store_diagnostic)

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

### get_diagnostic

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

Gets a diagnostic for a `FerroProperty` on a `FerroObject`: a
`FerroPropertyValue` that can be used to diagnose the state of the
property on the object.

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

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

### get_value_store_diagnostic

```rust
fn get_value_store_diagnostic(self: &Self) -> ValueStoreDiagnostic
```

Gets a `ValueStoreDiagnostic`: the frames of values that are
applied to the object.

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

## Trait implementations

- [`FerroObjectDiagnosticExtensions`](/docs/0.5.0/api/ferroui-base/diagnostics/trait-ferroobjectdiagnosticextensions/)

## Availability

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