pub enum Edit<T: PartialEq> {
Delete(usize),
Insert(usize, T),
Substitute(usize, T),
}
Expand description
Represents an Edit applied on a source sequence.
Variants§
Trait Implementations§
impl<T: PartialEq> StructuralPartialEq for Edit<T>
Auto Trait Implementations§
impl<T> Freeze for Edit<T>where
T: Freeze,
impl<T> RefUnwindSafe for Edit<T>where
T: RefUnwindSafe,
impl<T> Send for Edit<T>where
T: Send,
impl<T> Sync for Edit<T>where
T: Sync,
impl<T> Unpin for Edit<T>where
T: Unpin,
impl<T> UnwindSafe for Edit<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