pub struct LineIgnore {
pub scope: IgnoreScope,
pub reason: String,
}Expand description
Parsed // tmt:ignore directive(s) effective on a single source line.
Fields§
§scope: IgnoreScope§reason: StringImplementations§
Source§impl LineIgnore
impl LineIgnore
Sourcepub fn matches_kind(&self, kind: &str) -> bool
pub fn matches_kind(&self, kind: &str) -> bool
Returns true if this directive matches kind without column restriction (for backwards
compatibility with callers that only check finding kinds).
Trait Implementations§
Source§impl Clone for LineIgnore
impl Clone for LineIgnore
Source§impl Debug for LineIgnore
impl Debug for LineIgnore
impl Eq for LineIgnore
Source§impl PartialEq for LineIgnore
impl PartialEq for LineIgnore
impl StructuralPartialEq for LineIgnore
Auto Trait Implementations§
impl Forget for LineIgnore
impl Freeze for LineIgnorewhere
*const LeafNode<IgnoreFilter, SetValZST> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(IgnoreFilter, SetValZST)>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
impl Move for LineIgnore
impl RefUnwindSafe for LineIgnore
impl Send for LineIgnorewhere
NodeRef<Owned, IgnoreFilter, SetValZST, LeafOrInternal>: Send,
BoxRaw<(IgnoreFilter, SetValZST)>: Send,
RawVecInner: Send,
impl Sync for LineIgnorewhere
NodeRef<Owned, IgnoreFilter, SetValZST, LeafOrInternal>: Sync,
BoxRaw<(IgnoreFilter, SetValZST)>: Sync,
RawVecInner: Sync,
impl Unpin for LineIgnorewhere
*const LeafNode<IgnoreFilter, SetValZST> is !null: Unpin,
Box<(IgnoreFilter, SetValZST)>: Unpin,
*const u8 is !null: Unpin,
impl UnsafeUnpin for LineIgnorewhere
*const LeafNode<IgnoreFilter, SetValZST> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(IgnoreFilter, SetValZST)>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for LineIgnore
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.