pub struct PerformanceBottleneckRule;Expand description
性能瓶颈检测规则
Trait Implementations§
Source§impl Rule for PerformanceBottleneckRule
impl Rule for PerformanceBottleneckRule
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 PerformanceBottleneckRule
impl RefUnwindSafe for PerformanceBottleneckRule
impl Send for PerformanceBottleneckRule
impl Sync for PerformanceBottleneckRule
impl Unpin for PerformanceBottleneckRule
impl UnsafeUnpin for PerformanceBottleneckRule
impl UnwindSafe for PerformanceBottleneckRule
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