pub enum CollectionDelta<K> {
Inserted {
index: usize,
keys: Vec<K>,
},
Removed {
keys: Vec<K>,
},
Moved {
key: K,
index: usize,
},
Updated {
key: K,
},
}Expand description
Key-only change journal consumed by virtual collection widgets.
Variants§
Trait Implementations§
Source§impl<K: Clone> Clone for CollectionDelta<K>
impl<K: Clone> Clone for CollectionDelta<K>
Source§impl<K: Debug> Debug for CollectionDelta<K>
impl<K: Debug> Debug for CollectionDelta<K>
impl<K: Eq> Eq for CollectionDelta<K>
Source§impl<K: PartialEq> PartialEq for CollectionDelta<K>
impl<K: PartialEq> PartialEq for CollectionDelta<K>
impl<K: PartialEq> StructuralPartialEq for CollectionDelta<K>
Auto Trait Implementations§
impl<K> Forget for CollectionDelta<K>
impl<K> Freeze for CollectionDelta<K>
impl<K> Move for CollectionDelta<K>
impl<K> RefUnwindSafe for CollectionDelta<K>
impl<K> Send for CollectionDelta<K>
impl<K> Sync for CollectionDelta<K>
impl<K> Unpin for CollectionDelta<K>
impl<K> UnsafeUnpin for CollectionDelta<K>
impl<K> UnwindSafe for CollectionDelta<K>
Blanket Implementations§
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