swc_ecma_transforms::perf

Trait ParVisit

pub trait ParVisit: Visit + Parallel {
    // Required method
    fn visit_par<N>(&mut self, threshold: usize, nodes: &[N])
       where N: Send + Sync + VisitWith<Self>;
}

Required Methods§

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

Object Safety§

This trait is not object safe.

Implementors§

§

impl<T> ParVisit for T
where T: Visit + Parallel,