Expand description
Options to specify how to build up a set of nodes.
Fields
num_level: usize
num_seq_fallback: usize
splitter: S
Implementations
sourceimpl<P: Splitter> BuildArgs<P>
impl<P: Splitter> BuildArgs<P>
pub fn with_splitter<PP: Splitter>(self, splitter: PP) -> BuildArgs<PP>
pub fn with_num_seq_fallback(self, num_seq_fallback: usize) -> Self
pub fn with_num_level(self, num_level: usize) -> Self
pub fn build_ext<'a, T: Aabb + ManySwap, S>(
self,
bots: &'a mut [T],
sorter: &mut S
) -> (Vec<Node<'a, T>>, P) where
S: Sorter<T>,
P: Splitter,
pub fn par_build_ext<'a, T: Aabb + ManySwap, S>(
self,
bots: &'a mut [T],
sorter: &mut S
) -> (Vec<Node<'a, T>>, P) where
S: Sorter<T>,
T: Send,
T::Num: Send,
S: Send,
P: Splitter + Send,
Auto Trait Implementations
impl<S> RefUnwindSafe for BuildArgs<S> where
S: RefUnwindSafe,
impl<S> Send for BuildArgs<S> where
S: Send,
impl<S> Sync for BuildArgs<S> where
S: Sync,
impl<S> Unpin for BuildArgs<S> where
S: Unpin,
impl<S> UnwindSafe for BuildArgs<S> where
S: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more