pub struct MemoryLeakRule;Expand description
内存泄漏检测规则
Trait Implementations§
Source§impl Rule for MemoryLeakRule
impl Rule for MemoryLeakRule
Source§fn description(&self) -> String
fn description(&self) -> String
获取规则描述
Source§fn check(
&self,
program: &JsProgram,
_meta: &ScriptMetadata,
report: &mut AnalysisReport,
)
fn check( &self, program: &JsProgram, _meta: &ScriptMetadata, report: &mut AnalysisReport, )
执行规则检查
Auto Trait Implementations§
impl Freeze for MemoryLeakRule
impl RefUnwindSafe for MemoryLeakRule
impl Send for MemoryLeakRule
impl Sync for MemoryLeakRule
impl Unpin for MemoryLeakRule
impl UnsafeUnpin for MemoryLeakRule
impl UnwindSafe for MemoryLeakRule
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