pub trait INotifyCollectionChanged {
// Required method
fn collection_changed(&self) -> &Event<CollectionChange>;
}Expand description
Notifies clients of changes to a collection, such as when items are added and removed or the whole collection is reset.
Required Methods§
Sourcefn collection_changed(&self) -> &Event<CollectionChange>
fn collection_changed(&self) -> &Event<CollectionChange>
The event raised when the collection changes.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".