pub enum HunkFocus {
Plain,
DimUnfocused,
}Expand description
Visual treatment for hunk focus.
Variants§
Plain
Render focused and unfocused hunks normally.
DimUnfocused
Force all non-focused hunk body rows to the dim foreground.
Trait Implementations§
impl Copy for HunkFocus
impl Eq for HunkFocus
impl StructuralPartialEq for HunkFocus
Auto Trait Implementations§
impl Freeze for HunkFocus
impl RefUnwindSafe for HunkFocus
impl Send for HunkFocus
impl Sync for HunkFocus
impl Unpin for HunkFocus
impl UnsafeUnpin for HunkFocus
impl UnwindSafe for HunkFocus
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