NotifyCollectionChangedEventArgs
struct · ferroui-system · v0.5.0
struct NotifyCollectionChangedEventArgs<'a, T>
Describes a change to a collection.
Indexes are -1 when not applicable to the action, as in the notification
model this mirrors.
Members
action
action: NotifyCollectionChangedAction
new_items
new_items: &'a [T]
old_items
old_items: &'a [T]
new_starting_index
new_starting_index: i32
old_starting_index
old_starting_index: i32
share
fn share(self: &Self) -> SharedNotifyCollectionChangedEventArgs<T>
The change as an owned, shareable value: what untyped code (an event handler wired up by markup) is given, since the borrowed form cannot be held in an untyped value.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>Any
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.