# InitialBindingSignal

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

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

```rust
struct InitialBindingSignal
```

Wires both directions of a binding before it delivers the initial signal of the view model
(`InitialBindingSignal`).

The source is the merged direction signals of a triggered binding (`true` for the view model,
`false` for the view). The values the source produces while it is being subscribed (the current
values of both sides) are dropped; once it is attached, one `true` is delivered, and the
notifications raised meanwhile are delivered after it, one at a time. A terminal notification
releases the subscription to the source.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/binding/observables/initial_binding_signal.rs#L17)

## Members

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

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

### new

```rust
fn new(source: Rc<dyn IObservable<bool>>) -> Self
```

The signal over `source`, the combined direction signals.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/binding/observables/initial_binding_signal.rs#L23)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- [`SubscribeGuard<T>`](/docs/0.5.0/api/ferroui-base/reactive/use-subscribeguard/)
- [`IObservable<bool>`](/docs/0.5.0/api/ferroui-base/reactive/use-iobservable/)

## Availability

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