SharedNotifyCollectionChangedEventArgs
struct · ferroui-system · v0.5.0
struct SharedNotifyCollectionChangedEventArgs<T>
The owned form of NotifyCollectionChangedEventArgs: a shared handle
to the description of a change. Clones refer to the same description and
handles compare by identity, as the event args object this mirrors.
Members
action
fn action(self: &Self) -> NotifyCollectionChangedAction
The action that caused the notification.
new_items
fn new_items(self: &Self) -> &[T]
The items involved in the change that are new.
old_items
fn old_items(self: &Self) -> &[T]
The items affected by a replace, remove or move.
new_starting_index
fn new_starting_index(self: &Self) -> i32
The index at which the change occurred; -1 when not applicable.
old_starting_index
fn old_starting_index(self: &Self) -> i32
The index at which a move, remove or replace occurred; -1 when not
applicable.
as_args
fn as_args(self: &Self) -> NotifyCollectionChangedEventArgs<'_, T>
The change in the borrowed form handlers take.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedClonePartialEq
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.