pub struct HazardsConfig {
pub disabled_rules: Vec<String>,
}Fields§
§disabled_rules: Vec<String>Implementations§
Source§impl HazardsConfig
impl HazardsConfig
pub fn is_disabled(&self, rule: &str) -> bool
pub fn disabled_rules_set(&self) -> BTreeSet<String>
Trait Implementations§
Source§impl Clone for HazardsConfig
impl Clone for HazardsConfig
Source§impl Debug for HazardsConfig
impl Debug for HazardsConfig
Source§impl Default for HazardsConfig
impl Default for HazardsConfig
impl Eq for HazardsConfig
Source§impl PartialEq for HazardsConfig
impl PartialEq for HazardsConfig
impl StructuralPartialEq for HazardsConfig
Auto Trait Implementations§
impl Forget for HazardsConfig
impl Freeze for HazardsConfig
impl Move for HazardsConfig
impl RefUnwindSafe for HazardsConfig
impl Send for HazardsConfigwhere
RawVecInner: Send,
impl Sync for HazardsConfigwhere
RawVecInner: Sync,
impl Unpin for HazardsConfig
impl UnsafeUnpin for HazardsConfig
impl UnwindSafe for HazardsConfigwhere
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> 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.