# WeakEventArgs

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/utilities/trait-weakeventargs/

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

```rust
trait WeakEventArgs: 'static
```

The arguments of an event that can be subscribed to weakly.

The arguments type of the managed event is a type parameter of
[`WeakEvent`](/docs/0.5.0/api/ferroui-base/utilities/struct-weakevent/) and [`IWeakEventSubscriber`](/docs/0.5.0/api/ferroui-base/utilities/trait-iweakeventsubscriber/). Event arguments are passed by
reference and may themselves borrow data for the duration of the
notification (`FerroPropertyChangedEventArgs`),
so the type parameter names the arguments type and `Args<'a>` is the
type that is passed.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/weak_event.rs#L17)

## Members

- [`Args`](#assoc_type-args)

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

### Args

```rust
type Args<'a>: ?Sized
```



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

## Trait implementations

- [`WeakEventArgs`](/docs/0.5.0/api/ferroui-base/utilities/trait-weakeventargs/)

## Availability

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