# ObservableAsPropertyInheritance

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-reactiveui/binding/bindings/enum-observableaspropertyinheritance/

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

```rust
enum ObservableAsPropertyInheritance
```

The modifier that upstream's code fix for `[ObservableAsProperty]` gives the property it writes
for a field (`ObservableAsPropertyInheritance`).

Rust has no inheritance; the enumeration is kept for the attribute's counterpart, a macro, to
name the same choices.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/binding/bindings/observable_as_property_inheritance.rs#L9)

## Members

- [`None`](#variant-none)
- [`Virtual`](#variant-virtual)
- [`Override`](#variant-override)
- [`New`](#variant-new)

<a id="variant-none"></a>

### None

```rust
None = 0
```

No modifier (`None`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/binding/bindings/observable_as_property_inheritance.rs#L12)

<a id="variant-virtual"></a>

### Virtual

```rust
Virtual = 1
```

The property is `virtual` (`Virtual`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/binding/bindings/observable_as_property_inheritance.rs#L14)

<a id="variant-override"></a>

### Override

```rust
Override = 2
```

The property is an `override` (`Override`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/binding/bindings/observable_as_property_inheritance.rs#L16)

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

### New

```rust
New = 3
```

The property hides an inherited member with `new` (`New`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/binding/bindings/observable_as_property_inheritance.rs#L18)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- `Debug`
- `Default`
- `Clone`
- `Copy`
- `StructuralPartialEq`
- `PartialEq`
- `Eq`
- `Hash`

## Availability

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