pub struct TidyConfig {
pub checks: Vec<String>,
pub warnings_as_errors: Vec<String>,
}Expand description
clang-tidy’s Checks and WarningsAsErrors for lint, each a list of globs that clang-tidy applies in order, the last
that matches a check deciding it.
Fields§
§checks: Vec<String>Which checks run.
warnings_as_errors: Vec<String>Which of those are errors.
Trait Implementations§
Source§impl Clone for TidyConfig
impl Clone for TidyConfig
Source§impl Debug for TidyConfig
impl Debug for TidyConfig
impl Eq for TidyConfig
Source§impl PartialEq for TidyConfig
impl PartialEq for TidyConfig
impl StructuralPartialEq for TidyConfig
Auto Trait Implementations§
impl Forget for TidyConfig
impl Freeze for TidyConfig
impl Move for TidyConfig
impl RefUnwindSafe for TidyConfig
impl Send for TidyConfigwhere
RawVecInner: Send,
impl Sync for TidyConfigwhere
RawVecInner: Sync,
impl Unpin for TidyConfig
impl UnsafeUnpin for TidyConfig
impl UnwindSafe for TidyConfigwhere
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.