pub trait INotifyCollectionChangedSuspender {
// Required methods
fn suspend_count(&self) -> Rc<dyn IDisposable>;
fn suspend_notifications(&self) -> Rc<dyn IDisposable>;
}Expand description
A collection whose notifications can be held back (INotifyCollectionChangedSuspender).
Required Methods§
Sourcefn suspend_count(&self) -> Rc<dyn IDisposable>
fn suspend_count(&self) -> Rc<dyn IDisposable>
Holds back the notifications of Count until the handle is disposed, which raises Count
once if it changed (SuspendCount).
Sourcefn suspend_notifications(&self) -> Rc<dyn IDisposable>
fn suspend_notifications(&self) -> Rc<dyn IDisposable>
Holds back the notifications of changes and of Count until the handle is disposed, which
raises Count and a reset (SuspendNotifications).
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".