pub enum ChangeTag {
Equal,
Delete,
Insert,
}
Expand description
The tag of a change.
Variants§
Equal
The change indicates equality (not a change)
Delete
The change indicates deleted text.
Insert
The change indicates inserted text.
Trait Implementations§
source§impl Ord for ChangeTag
impl Ord for ChangeTag
source§impl PartialEq for ChangeTag
impl PartialEq for ChangeTag
source§impl PartialOrd for ChangeTag
impl PartialOrd for ChangeTag
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ChangeTag
impl Eq for ChangeTag
impl StructuralPartialEq for ChangeTag
Auto Trait Implementations§
impl Freeze for ChangeTag
impl RefUnwindSafe for ChangeTag
impl Send for ChangeTag
impl Sync for ChangeTag
impl Unpin for ChangeTag
impl UnwindSafe for ChangeTag
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