Enum diff_parse::Op
source · [−]pub enum Op {
Add,
Sub,
}
Expand description
An enumeration of the supported operations in a diff.
Variants
Add
Lines are being added.
Sub
Lines are being removed.
Trait Implementations
impl Copy for Op
impl StructuralPartialEq for Op
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more