swc_core::ecma::transforms::base::perf

Trait Check

pub trait Check: Visit + Default {
    // Required method
    fn should_handle(&self) -> bool;
}
Available on crate feature __ecma and (crate features __ecma_transforms or __testing_transform) only.

Required Methods§

fn should_handle(&self) -> bool

Object Safety§

This trait is not object safe.

Implementors§