[][src]Function broccoli::new_par

pub fn new_par<'a, T: Aabb + Send + Sync>(
    bots: &'a mut [T]
) -> Tree<'a, DefaultA, T> where
    T::Num: Send + Sync

Create a Tree using the default axis in parallel.

Examples

 let mut bots = [axgeom::rect(0,10,0,10)];
 let tree = broccoli::new_par(&mut bots);