CollectionChanged
struct · ferroui-reactiveui · v0.5.0
struct CollectionChanged<S>
One CollectionChanged notification of a collection, with the collection that raised it
(CollectionChanged): the element of observe_collection_changes.
Deviation (DEVIATIONS.md, ReactiveUI): upstream's sender is an object and its arguments are
the NotifyCollectionChangedEventArgs object, both compared by reference. The sender here is
the handle of the collection, of its own type, and the arguments are the untyped description of
the change that INotifyCollectionChanged raises in ferroui-system (CollectionChange),
compared by value.
Members
new
fn new(sender: S, event_args: CollectionChange) -> Self
A notification of sender (CollectionChanged(object?, NotifyCollectionChangedEventArgs)).
sender
fn sender(self: &Self) -> &S
The collection that raised the event (Sender).
event_args
fn event_args(self: &Self) -> &CollectionChange
The description of the change (EventArgs).
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedCloneDebugPartialEq
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.