pub struct IgnoreMatch {
pub source_display: String,
pub line_number: usize,
pub pattern_text: String,
pub negative: bool,
}Expand description
Metadata for a matching rule.
Fields§
§source_display: StringThe source file shown in verbose output.
line_number: usizeLine number in the source file (1-based).
pattern_text: StringPattern text as written (excluding comments/blank lines).
negative: boolWhether this is a negated pattern (!pattern).
Trait Implementations§
Source§impl Clone for IgnoreMatch
impl Clone for IgnoreMatch
Source§fn clone(&self) -> IgnoreMatch
fn clone(&self) -> IgnoreMatch
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IgnoreMatch
impl Debug for IgnoreMatch
Source§impl PartialEq for IgnoreMatch
impl PartialEq for IgnoreMatch
impl Eq for IgnoreMatch
impl StructuralPartialEq for IgnoreMatch
Auto Trait Implementations§
impl Freeze for IgnoreMatch
impl RefUnwindSafe for IgnoreMatch
impl Send for IgnoreMatch
impl Sync for IgnoreMatch
impl Unpin for IgnoreMatch
impl UnsafeUnpin for IgnoreMatch
impl UnwindSafe for IgnoreMatch
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