pub struct IgnoreFilter {
pub kind: Option<String>,
pub column: Option<usize>,
pub mutation: Option<String>,
}Expand description
A single selector inside // tmt:ignore[...]: a finding kind, a 1-based column (@COL),
an optional mutation suffix (:MUTATION, e.g. :trunc), or combinations (kind@COL:MUTATION).
Fields§
§kind: Option<String>None matches any finding kind; Some(kind) matches only that kind.
column: Option<usize>None matches any column on the line; Some(col) matches only that 1-based column.
mutation: Option<String>None matches any surviving mutation; Some(m) matches only findings whose survivors
all match m (e.g. trunc matches .trunc(), leaving .ceil() unhidden).
Implementations§
Trait Implementations§
Source§impl Clone for IgnoreFilter
impl Clone for IgnoreFilter
Source§impl Debug for IgnoreFilter
impl Debug for IgnoreFilter
impl Eq for IgnoreFilter
Source§impl Ord for IgnoreFilter
impl Ord for IgnoreFilter
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for IgnoreFilter
impl PartialEq for IgnoreFilter
Source§impl PartialOrd for IgnoreFilter
impl PartialOrd for IgnoreFilter
impl StructuralPartialEq for IgnoreFilter
Auto Trait Implementations§
impl Forget for IgnoreFilter
impl Freeze for IgnoreFilter
impl Move for IgnoreFilter
impl RefUnwindSafe for IgnoreFilter
impl Send for IgnoreFilterwhere
RawVecInner: Send,
impl Sync for IgnoreFilterwhere
RawVecInner: Sync,
impl Unpin for IgnoreFilter
impl UnsafeUnpin for IgnoreFilter
impl UnwindSafe for IgnoreFilterwhere
RawVecInner: UnwindSafe,
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> Comparable<K> for Q
impl<Q, K> Comparable<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.