pub struct ResourceAnalyzer { /* private fields */ }Expand description
The resource leak analyzer (single-word analysis)
Implementations§
Source§impl ResourceAnalyzer
impl ResourceAnalyzer
pub fn new(file: &Path) -> Self
Sourcepub fn analyze_word(&mut self, word: &WordDef) -> Vec<LintDiagnostic>
pub fn analyze_word(&mut self, word: &WordDef) -> Vec<LintDiagnostic>
Analyze a word definition for resource leaks
Auto Trait Implementations§
impl Freeze for ResourceAnalyzer
impl RefUnwindSafe for ResourceAnalyzer
impl Send for ResourceAnalyzer
impl Sync for ResourceAnalyzer
impl Unpin for ResourceAnalyzer
impl UnwindSafe for ResourceAnalyzer
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