pub enum ContextChange {
Increase,
Decrease,
ToggleFile,
}Expand description
Change to the requested hunk context.
Variants§
Increase
Show one more unchanged line around each changed group.
Decrease
Show one fewer unchanged line around each changed group.
ToggleFile
Toggle the active file between bounded hunks and full source.
Trait Implementations§
Source§impl Clone for ContextChange
impl Clone for ContextChange
impl Copy for ContextChange
Source§impl Debug for ContextChange
impl Debug for ContextChange
impl Eq for ContextChange
Source§impl PartialEq for ContextChange
impl PartialEq for ContextChange
impl StructuralPartialEq for ContextChange
Auto Trait Implementations§
impl Freeze for ContextChange
impl RefUnwindSafe for ContextChange
impl Send for ContextChange
impl Sync for ContextChange
impl Unpin for ContextChange
impl UnsafeUnpin for ContextChange
impl UnwindSafe for ContextChange
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