pub enum SuppressLineScope {
PerLocation,
}Expand description
Scope marker for line suppressions that span multiple locations.
Variants§
PerLocation
Apply the suppression comment at each location of the multi-location
finding (e.g., every duplicate_exports site).
Trait Implementations§
Source§impl Clone for SuppressLineScope
impl Clone for SuppressLineScope
impl Copy for SuppressLineScope
Source§impl Debug for SuppressLineScope
impl Debug for SuppressLineScope
Source§impl<'de> Deserialize<'de> for SuppressLineScope
impl<'de> Deserialize<'de> for SuppressLineScope
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SuppressLineScope
Source§impl PartialEq for SuppressLineScope
impl PartialEq for SuppressLineScope
Source§impl Serialize for SuppressLineScope
impl Serialize for SuppressLineScope
impl StructuralPartialEq for SuppressLineScope
Auto Trait Implementations§
impl Freeze for SuppressLineScope
impl RefUnwindSafe for SuppressLineScope
impl Send for SuppressLineScope
impl Sync for SuppressLineScope
impl Unpin for SuppressLineScope
impl UnsafeUnpin for SuppressLineScope
impl UnwindSafe for SuppressLineScope
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.