swc_ecma_transforms_base::perf

Trait ParVisit

source
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§

source

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§

source§

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