# POCOObservableForProperty

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

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

```rust
struct POCOObservableForProperty
```

Observes a property of an object that has no change notification, at the lowest affinity
(`POCOObservableForProperty`).

The sequence produces one change on subscription, which carries the object and the property
but no value, and then nothing. Unless warnings are suppressed, the first observation of each
type and property writes a debug message.

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

## Members

- [`new`](#function-new)
- [`warn_once`](#function-warn_once)

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

### new

```rust
fn new() -> Self
```

The observer (`new POCOObservableForProperty()`).

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

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

### warn_once

```rust
fn warn_once(owner: &PropertyOwner, property_name: &str) -> bool
```

Writes the warning the first time a property of a type is observed (`WarnOnce`); returns
whether it was written.

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

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- [`CreatesObservableForPropertyMixins`](/docs/0.5.0/api/ferroui-reactiveui/binding/interfaces/trait-createsobservableforpropertymixins/)
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- `Debug`
- `Default`
- `Clone`
- `Copy`
- [`ICreatesObservableForProperty`](/docs/0.5.0/api/ferroui-reactiveui/binding/interfaces/trait-icreatesobservableforproperty/)

## Availability

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