pub enum DiffRun {
Kept {
from: u32,
len: u32,
},
Moved {
from: u32,
len: u32,
},
Inserted {
len: u32,
},
}Expand description
A stretch of a list’s new rows (ListDiff::runs).
Variants§
Kept
len rows that were at from..from + len, in the order the rows
around them kept.
Moved
len rows that were at from..from + len and changed place among
the kept rows.
Inserted
len rows whose keys are new.
Implementations§
Trait Implementations§
impl Copy for DiffRun
impl Eq for DiffRun
impl StructuralPartialEq for DiffRun
Auto Trait Implementations§
impl Forget for DiffRun
impl Freeze for DiffRun
impl Move for DiffRun
impl RefUnwindSafe for DiffRun
impl Send for DiffRun
impl Sync for DiffRun
impl Unpin for DiffRun
impl UnsafeUnpin for DiffRun
impl UnwindSafe for DiffRun
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