pub enum PieceEdit {
Equal(Piece),
Delete(Piece),
Insert(Piece),
}Expand description
What happened to one piece.
Variants§
Equal(Piece)
Present in both lines, in the same order.
Delete(Piece)
Only in the old line.
Insert(Piece)
Only in the new line.
Trait Implementations§
impl Eq for PieceEdit
impl StructuralPartialEq for PieceEdit
Auto Trait Implementations§
impl Freeze for PieceEdit
impl RefUnwindSafe for PieceEdit
impl Send for PieceEdit
impl Sync for PieceEdit
impl Unpin for PieceEdit
impl UnsafeUnpin for PieceEdit
impl UnwindSafe for PieceEdit
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