pub struct SuppressedWarning {
pub rule_name: String,
pub line: usize,
pub layer: DisableLayer,
}Expand description
A warning an inline disable comment kept out of a document’s results.
Fields§
§rule_name: StringCanonical id of the rule that raised the warning, e.g. MD013
line: usize1-indexed line of the warning’s range the rule was found disabled on
layer: DisableLayerThe kind of directive that disabled the rule there
Trait Implementations§
Source§impl Clone for SuppressedWarning
impl Clone for SuppressedWarning
Source§fn clone(&self) -> SuppressedWarning
fn clone(&self) -> SuppressedWarning
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SuppressedWarning
impl Debug for SuppressedWarning
impl Eq for SuppressedWarning
Source§impl PartialEq for SuppressedWarning
impl PartialEq for SuppressedWarning
impl StructuralPartialEq for SuppressedWarning
Auto Trait Implementations§
impl Freeze for SuppressedWarning
impl RefUnwindSafe for SuppressedWarning
impl Send for SuppressedWarning
impl Sync for SuppressedWarning
impl Unpin for SuppressedWarning
impl UnsafeUnpin for SuppressedWarning
impl UnwindSafe for SuppressedWarning
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.