[][src]Function broccoli::with_axis_par

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

Create a Tree using a specified axis in parallel.

Examples

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