pub struct KeyedDiff<K> {
pub edits: Vec<ListEdit<K>>,
pub removed: Vec<K>,
}Expand description
The result of diffing two keyed sequences.
Fields§
§edits: Vec<ListEdit<K>>One entry per item in the new sequence, in order.
removed: Vec<K>Keys present in old but absent from new — remove their nodes.
Trait Implementations§
impl<K: Eq> Eq for KeyedDiff<K>
impl<K: PartialEq> StructuralPartialEq for KeyedDiff<K>
Auto Trait Implementations§
impl<K> Freeze for KeyedDiff<K>
impl<K> RefUnwindSafe for KeyedDiff<K>where
K: RefUnwindSafe,
impl<K> Send for KeyedDiff<K>where
K: Send,
impl<K> Sync for KeyedDiff<K>where
K: Sync,
impl<K> Unpin for KeyedDiff<K>where
K: Unpin,
impl<K> UnsafeUnpin for KeyedDiff<K>
impl<K> UnwindSafe for KeyedDiff<K>where
K: UnwindSafe,
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