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

Trait ParVisitMut

pub trait ParVisitMut: VisitMut + Parallel {
    // Required method
    fn visit_mut_par<N>(&mut self, threshold: usize, nodes: &mut [N])
       where N: Send + Sync + VisitMutWith<Self>;
}
Available on crate feature __ecma and (crate features __ecma_transforms or __testing_transform) only.

Required Methods§

fn visit_mut_par<N>(&mut self, threshold: usize, nodes: &mut [N])
where N: Send + Sync + VisitMutWith<Self>,

Object Safety§

This trait is not object safe.

Implementors§

§

impl<T> ParVisitMut for T
where T: VisitMut + Parallel,