pub struct CompiledPerFileIgnoreList { /* private fields */ }Expand description
Linter configuration and per-file ignore types.
Implementations§
Source§impl CompiledPerFileIgnoreList
impl CompiledPerFileIgnoreList
pub fn resolve( project_root: impl Into<PathBuf>, per_file_ignores: impl IntoIterator<Item = PerFileIgnore>, ) -> Result<Self>
pub fn is_empty(&self) -> bool
pub fn ignored_rules(&self, path: &Path) -> RuleSet
Trait Implementations§
Source§impl Clone for CompiledPerFileIgnoreList
impl Clone for CompiledPerFileIgnoreList
Source§fn clone(&self) -> CompiledPerFileIgnoreList
fn clone(&self) -> CompiledPerFileIgnoreList
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 CompiledPerFileIgnoreList
impl Debug for CompiledPerFileIgnoreList
Source§impl Default for CompiledPerFileIgnoreList
impl Default for CompiledPerFileIgnoreList
Source§fn default() -> CompiledPerFileIgnoreList
fn default() -> CompiledPerFileIgnoreList
Returns the “default value” for a type. Read more
impl Eq for CompiledPerFileIgnoreList
Auto Trait Implementations§
impl Freeze for CompiledPerFileIgnoreList
impl RefUnwindSafe for CompiledPerFileIgnoreList
impl Send for CompiledPerFileIgnoreList
impl Sync for CompiledPerFileIgnoreList
impl Unpin for CompiledPerFileIgnoreList
impl UnsafeUnpin for CompiledPerFileIgnoreList
impl UnwindSafe for CompiledPerFileIgnoreList
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