swc_ecma_transforms_base::perf

Trait ParVisitMut

Source
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>;
}

Required Methods§

Source

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

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