pub enum RefineKind {
Added,
Removed,
}Expand description
Which side of a refined pair a RefineSpan belongs to. Picks the
theme element, and nothing else.
Variants§
Added
Bytes added on this line — diff.add.refine.bg.
Removed
Bytes removed from this line — diff.remove.refine.bg.
Trait Implementations§
Source§impl Clone for RefineKind
impl Clone for RefineKind
Source§fn clone(&self) -> RefineKind
fn clone(&self) -> RefineKind
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 RefineKind
Source§impl Debug for RefineKind
impl Debug for RefineKind
impl Eq for RefineKind
Source§impl PartialEq for RefineKind
impl PartialEq for RefineKind
impl StructuralPartialEq for RefineKind
Auto Trait Implementations§
impl Freeze for RefineKind
impl RefUnwindSafe for RefineKind
impl Send for RefineKind
impl Sync for RefineKind
impl Unpin for RefineKind
impl UnsafeUnpin for RefineKind
impl UnwindSafe for RefineKind
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