Skip to main content

INotifyCollectionChanged

Trait INotifyCollectionChanged 

Source
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§

Source

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".

Implementors§