pub enum PickaxeKind {
Occurrences {
needle: String,
},
LineGrep,
}Expand description
Which pickaxe mode is active (-S or -G).
Variants§
Occurrences
Occurrence count change (git log -S / git diff -S).
Fields
§
needle: StringNeedle string when not using Pickaxe::pickaxe_regex.
LineGrep
Line-level regex on added/removed lines (git log -G).
Trait Implementations§
Source§impl Clone for PickaxeKind
impl Clone for PickaxeKind
Auto Trait Implementations§
impl Freeze for PickaxeKind
impl RefUnwindSafe for PickaxeKind
impl Send for PickaxeKind
impl Sync for PickaxeKind
impl Unpin for PickaxeKind
impl UnsafeUnpin for PickaxeKind
impl UnwindSafe for PickaxeKind
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