pub struct CompiledIgnoreExportRule {
pub matcher: GlobMatcher,
pub exports: Vec<String>,
}Expand description
IgnoreExportRule with the glob pre-compiled into a matcher.
Workspace mode runs find_unused_exports and find_duplicate_exports once
per package, each of which previously re-compiled the same set of globs from
ignore_export_rules. Compiling once at ResolvedConfig construction and
reading &[CompiledIgnoreExportRule] from both detectors removes that work.
Fields§
§matcher: GlobMatcher§exports: Vec<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for CompiledIgnoreExportRule
impl RefUnwindSafe for CompiledIgnoreExportRule
impl Send for CompiledIgnoreExportRule
impl Sync for CompiledIgnoreExportRule
impl Unpin for CompiledIgnoreExportRule
impl UnsafeUnpin for CompiledIgnoreExportRule
impl UnwindSafe for CompiledIgnoreExportRule
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