pub struct IgnorePatternMatch {
pub line_number: usize,
pub pattern_text: String,
pub negative: bool,
}Expand description
The pattern that decided an IgnorePatternList::last_match query.
Fields§
§line_number: usizeLine number of the pattern in the parsed content (1-based).
pattern_text: StringPattern text as written (without trailing whitespace).
negative: boolWhether this is a negated pattern (!pattern), which re-includes the path.
Trait Implementations§
Source§impl Clone for IgnorePatternMatch
impl Clone for IgnorePatternMatch
Source§impl Debug for IgnorePatternMatch
impl Debug for IgnorePatternMatch
impl Eq for IgnorePatternMatch
Source§impl PartialEq for IgnorePatternMatch
impl PartialEq for IgnorePatternMatch
impl StructuralPartialEq for IgnorePatternMatch
Auto Trait Implementations§
impl Freeze for IgnorePatternMatch
impl RefUnwindSafe for IgnorePatternMatch
impl Send for IgnorePatternMatch
impl Sync for IgnorePatternMatch
impl Unpin for IgnorePatternMatch
impl UnsafeUnpin for IgnorePatternMatch
impl UnwindSafe for IgnorePatternMatch
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.