pub struct ChangeIgnore<'a> {
pub ignore_blank_lines: bool,
pub regex_match: Option<ChangeIgnoreRegex<'a>>,
}Fields§
§ignore_blank_lines: bool--ignore-blank-lines: blank change groups are ignorable.
regex_match: Option<ChangeIgnoreRegex<'a>>-I<regex>: a line is regex-ignorable when this returns true. The
closure receives the raw line bytes (including the trailing \n). When
None, no regex suppression applies.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ChangeIgnore<'a>
impl<'a> !Send for ChangeIgnore<'a>
impl<'a> !Sync for ChangeIgnore<'a>
impl<'a> !UnwindSafe for ChangeIgnore<'a>
impl<'a> Freeze for ChangeIgnore<'a>
impl<'a> Unpin for ChangeIgnore<'a>
impl<'a> UnsafeUnpin for ChangeIgnore<'a>
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