pub struct CollectionChange {
pub action: NotifyCollectionChangedAction,
pub new_starting_index: i32,
pub new_count: usize,
pub old_starting_index: i32,
pub old_count: usize,
}Expand description
An untyped description of a change to a collection, as seen by bindings with an indexer in their path.
Indexes are -1 when not applicable to the action.
Fields§
§action: NotifyCollectionChangedAction§new_starting_index: i32§new_count: usize§old_starting_index: i32§old_count: usizeTrait Implementations§
Source§impl Clone for CollectionChange
impl Clone for CollectionChange
Source§fn clone(&self) -> CollectionChange
fn clone(&self) -> CollectionChange
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CollectionChange
Source§impl Debug for CollectionChange
impl Debug for CollectionChange
impl Eq for CollectionChange
Source§impl PartialEq for CollectionChange
impl PartialEq for CollectionChange
impl StructuralPartialEq for CollectionChange
Source§impl WeakEventArgs for CollectionChange
impl WeakEventArgs for CollectionChange
type Args<'a> = CollectionChange
Auto Trait Implementations§
impl Freeze for CollectionChange
impl RefUnwindSafe for CollectionChange
impl Send for CollectionChange
impl Sync for CollectionChange
impl Unpin for CollectionChange
impl UnsafeUnpin for CollectionChange
impl UnwindSafe for CollectionChange
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more