pub enum MovedClass {
None,
Moved,
MovedAlt,
MovedDim,
MovedAltDim,
}Expand description
The color class assigned to one emitted line after move detection.
Variants§
None
Not a moved line: use the normal old/new/context color.
Moved
Moved, primary color (oldMoved / newMoved).
MovedAlt
Moved, alternate color (oldMovedAlternative / newMovedAlternative).
MovedDim
Moved, primary dim (oldMovedDimmed / newMovedDimmed).
MovedAltDim
Moved, alternate dim (oldMovedAlternativeDimmed / …).
Trait Implementations§
Source§impl Clone for MovedClass
impl Clone for MovedClass
Source§fn clone(&self) -> MovedClass
fn clone(&self) -> MovedClass
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MovedClass
Source§impl Debug for MovedClass
impl Debug for MovedClass
impl Eq for MovedClass
Source§impl PartialEq for MovedClass
impl PartialEq for MovedClass
Source§fn eq(&self, other: &MovedClass) -> bool
fn eq(&self, other: &MovedClass) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MovedClass
Auto Trait Implementations§
impl Freeze for MovedClass
impl RefUnwindSafe for MovedClass
impl Send for MovedClass
impl Sync for MovedClass
impl Unpin for MovedClass
impl UnsafeUnpin for MovedClass
impl UnwindSafe for MovedClass
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