# EventPatternValue

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-reactive/linq/trait-eventpatternvalue/

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

```rust
trait EventPatternValue: 'static
```

A value that is an [`EventPattern`](/docs/0.5.0/api/ferroui-reactive/linq/struct-eventpattern/): implemented for `EventPattern<S, A>`, so that
`to_event_pattern` is a method of the sequences of event patterns (upstream's `ToEventPattern`
extends `IObservable<EventPattern<TEventArgs>>`).

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Reactive/linq/event_pattern.rs#L45)

## Members

- [`Sender`](#assoc_type-sender)
- [`EventArgs`](#assoc_type-eventargs)
- [`into_event_pattern`](#function-into_event_pattern)

<a id="assoc_type-sender"></a>

### Sender

```rust
type Sender: 'static
```

The type of the sender.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Reactive/linq/event_pattern.rs#L47)

<a id="assoc_type-eventargs"></a>

### EventArgs

```rust
type EventArgs: 'static
```

The type of the arguments.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Reactive/linq/event_pattern.rs#L49)

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

### into_event_pattern

```rust
fn into_event_pattern(self: Self) -> EventPattern<<Self as >::Sender, <Self as >::EventArgs>
```

The pattern.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Reactive/linq/event_pattern.rs#L52)

## Trait implementations

- [`EventPatternValue`](/docs/0.5.0/api/ferroui-reactive/linq/trait-eventpatternvalue/)

## Availability

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