pub enum Change<T> {
Delete(T, usize),
Insert(T, usize),
Unchanged(T, usize, usize),
}Variants§
Delete(T, usize)
Delete value with the old position.
Insert(T, usize)
Insert value with the new position.
Unchanged(T, usize, usize)
Unchanged value with the old and new positions.
Trait Implementations§
impl<T: Eq> Eq for Change<T>
impl<T> StructuralPartialEq for Change<T>
Auto Trait Implementations§
impl<T> Freeze for Change<T>where
T: Freeze,
impl<T> RefUnwindSafe for Change<T>where
T: RefUnwindSafe,
impl<T> Send for Change<T>where
T: Send,
impl<T> Sync for Change<T>where
T: Sync,
impl<T> Unpin for Change<T>where
T: Unpin,
impl<T> UnsafeUnpin for Change<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Change<T>where
T: 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